david 9d0f4df6a1 Use the 'serde' feature for Data | 2 bulan lalu | |
---|---|---|
examples | 2 bulan lalu | |
src | 2 bulan lalu | |
.gitignore | 2 bulan lalu | |
Cargo.lock | 2 bulan lalu | |
Cargo.toml | 2 bulan 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
.