safegraph 0.1.0

A type-safe, scope-aware graph library that leverages Rust's type system to prevent common graph-related bugs at compile time
Documentation
1
2
3
4
5
6
fn main() {
    let mut g: safegraph::VecGraph<u32, u32> = Default::default();
    let a = 1u32;
    let b = 2u32;
    safegraph::graph!(&mut g => a -- {10} --> b);
}