david 6aff7760e8 Adding Point | 3 minggu lalu | |
---|---|---|
examples | 2 bulan lalu | |
src | 3 minggu lalu | |
.gitignore | 2 bulan lalu | |
Cargo.lock | 3 minggu lalu | |
Cargo.toml | 3 minggu lalu | |
LICENSE | 2 bulan lalu | |
README.md | 2 bulan lalu |
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
.