Nav apraksta

Steve Thielemann af58a67e29 Separation of Shared & Data 4 mēneši atpakaļ
examples f9f642af17 Separation of Shared & Data 4 mēneši atpakaļ
src f9f642af17 Separation of Shared & Data 4 mēneši atpakaļ
.gitignore 0887d035ae Adds SharedData<T> 7 mēneši atpakaļ
Cargo.lock f9f642af17 Separation of Shared & Data 4 mēneši atpakaļ
Cargo.toml f9f642af17 Separation of Shared & Data 4 mēneši atpakaļ
LICENSE c6403ea9d9 Updated LICENSE and README.md 7 mēneši atpakaļ
README.md f9f642af17 Separation of Shared & Data 4 mēneši atpakaļ

README.md

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.