synctree

Crates.iosynctree
lib.rssynctree
version0.1.3
sourcesrc
created_at2018-08-08 19:20:32.210308
updated_at2018-08-09 14:31:52.20823
descriptionThread-safe tree data structure
homepage
repositoryhttps://gitlab.com/LeshaInc/synctree
max_upload_size
id78407
size60,439
(LeshaInc)

documentation

README

SyncTree

A crate providing tree implementation with multithreading support.

use synctree::NodeArena;

let ref arena = NodeArena::with_capacity(12);
let root = tree!(
    arena,
    1 => [
        2,
        3 => [4, 5],
        6 => [
            7 => [8 => []],
            9 => [10 => [11]]],
        12
    ]
);

This code creates a following tree:

graph

Commit count: 35

cargo fmt