Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/joshuachp/forest-ds

Implementation of an arena based Tree structure.
https://github.com/joshuachp/forest-ds

Last synced: about 9 hours ago
JSON representation

Implementation of an arena based Tree structure.

Awesome Lists containing this project

README

        

# forest-ds

[![Crates.io](https://img.shields.io/crates/v/forest-ds)](https://crates.io/crates/forest-ds)
[![docs.rs](https://img.shields.io/docsrs/forest-ds)](https://docs.rs/forest-ds/)
[![check](https://github.com/joshuachp/forest-ds/actions/workflows/check.yml/badge.svg)](https://github.com/joshuachp/forest-ds/blob/main/.github/workflows/check.yml)
[![test](https://github.com/joshuachp/forest-ds/actions/workflows/test.yml/badge.svg)](https://github.com/joshuachp/forest-ds/blob/main/.github/workflows/test.yml)
[![codecov](https://codecov.io/gh/joshuachp/forest-ds/branch/main/graph/badge.svg?token=KYDH1J83U9)](https://codecov.io/gh/joshuachp/forest-ds)

Implementation an arena based Tree structure.

Implemented features:

- Appending children and siblings
- Inserting children and siblings on any node
- Iteration on the structure (`Iter`, `IterMut` and `IntoIter`)
- `serde` feature for serialization

Missing features:

- Parallel iteration with `rayon`