9 releases

0.1.9 Sep 5, 2023
0.1.8 Sep 4, 2023
0.1.4 Aug 24, 2023
0.1.3 Jul 6, 2023
0.1.1 Jun 13, 2023

#910 in Algorithms

Download history 1/week @ 2024-09-17 9/week @ 2024-09-24

65 downloads per month

MIT license

66KB
2K SLoC

ntree-rs

Continuos Integration Code Coverage Dependency status Crates.io: ntree-rs

A mutable n-ary tree with async support.

About

This library provides a simple way to define, mutate and traverse trees of an arbitrary and non-constant arity. In addition, regarding to traversal algorithms, six different implementations are included: the immutable, mutable and owned approaches, as well as the synchronous and asynchronous strategies for each of them.


lib.rs:

Definition of a node with an arbitrary number of children.

Dependencies

~235KB