README.md 279 B

Shared

A Arc Mutex guarded data

Usage

cargo add shared --git https://git.red-green.com/david/shared

use shared::Shared;

// Wrap your structure in Shared<S> via Shared::new(S)

Examples

To run, say doc_example just cargo run --example doc_example.