david e792ec617c Expanded shared for Shared and Data | vor 2 Monaten | |
---|---|---|
examples | vor 2 Monaten | |
src | vor 2 Monaten | |
.gitignore | vor 2 Monaten | |
Cargo.lock | vor 2 Monaten | |
Cargo.toml | vor 2 Monaten | |
LICENSE | vor 2 Monaten | |
README.md | vor 2 Monaten |
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
.