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

#878 in Algorithms

Download history 6/week @ 2024-02-11 270/week @ 2024-02-18 4/week @ 2024-02-25 2/week @ 2024-03-10 134/week @ 2024-03-31

136 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

~250KB