#tree #immutability #path #thread-safe


Immutable, path-addressable tree data structure

7 releases (4 breaking)

new 0.4.1 Jul 15, 2024
0.4.0 Jul 10, 2024
0.3.0 Jul 8, 2024
0.2.0 Mar 18, 2024
0.0.23 Nov 24, 2023

#965 in Data structures

Download history 4/week @ 2024-03-27 11/week @ 2024-04-03 101/week @ 2024-07-03 242/week @ 2024-07-10

343 downloads per month

MPL-2.0 license

1.5K SLoC


Crates.io Docs.rs Deps.rs Security audit Continuous integration License: MPL 2.0

Immutable (persistent), path-addressable tree data structure.

Based on the rpds crate.

Feature Flags

Thread-safety could be enabled on demand with the "sync" feature.


Licensed under the Mozilla Public License 2.0 (MPL-2.0) (see MPL-2.0.txt or https://www.mozilla.org/MPL/2.0/).

Permissions of this copyleft license are conditioned on making available source code of licensed files and modifications of those files under the same license (or in certain cases, one of the GNU licenses). Copyright and license notices must be preserved. Contributors provide an express grant of patent rights. However, a larger work using the licensed work may be distributed under different terms and without source code for files added in the larger work.


Any contribution intentionally submitted for inclusion in the work by you shall be licensed under the Mozilla Public License 2.0 (MPL-2.0).

It is required to add the following header with the corresponding SPDX short identifier to the top of each file:

// SPDX-License-Identifier: MPL-2.0


~33K SLoC