david 9d0f4df6a1 Use the 'serde' feature for Data | 2 meses atrás | |
---|---|---|
examples | 2 meses atrás | |
src | 2 meses atrás | |
.gitignore | 2 meses atrás | |
Cargo.lock | 2 meses atrás | |
Cargo.toml | 2 meses atrás | |
LICENSE | 2 meses atrás | |
README.md | 2 meses atrás |
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
.