|
5 mesiacov pred | |
---|---|---|
examples | 6 mesiacov pred | |
src | 5 mesiacov pred | |
.gitignore | 7 mesiacov pred | |
Cargo.lock | 5 mesiacov pred | |
Cargo.toml | 5 mesiacov pred | |
LICENSE | 7 mesiacov pred | |
README.md | 6 mesiacov pred |
A Arc Mutex guarded Data.
cargo add shared
use shared::Shared;
// Wrap your structure in Shared<S> via Shared::new(S)
To run, say doc_example
just cargo run --example doc_example
.