socarel

Crates.iosocarel
lib.rssocarel
version0.4.0
sourcesrc
created_at2021-09-24 08:07:58.351147
updated_at2021-09-24 08:07:58.351147
descriptionFast and compact crate to generate, manipulate and traverse trees.
homepage
repositoryhttps://github.com/asllop/socarel
max_upload_size
id455776
size54,018
Andreu (asllop)

documentation

README

SOCAREL

Rust crate to generate, manipulate and traverse trees.

It provides iterators for eight different traversal algorithms.
Add and remove nodes in O(1) complexity. Find nodes in a path in O(p) complexity (being p the path lenght).
Supports custom node models to create complex tree formats.

Usage & Docs

As with any crate, generate the docs using cargo:

cargo doc --open

Crate

Download the crate at crates.io

Examples

Check out files src/main.rs and src/tests.rs for usage examples.

Name

Socarel is a catalan word composed by soca (trunk) and rel (root). It means totally, entirely, and depending on the context can be understood as pure, genuine.

Commit count: 45

cargo fmt