Skip to content

An implementation of the "rose tree" data structure for Rust.

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

aentity/rose_tree-rs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rose_tree Build Status Crates.io Crates.io

An implementation of the rose tree (aka multi-way tree) data structure for Rust.

An indexable tree data structure with a variable and unbounded number of branches per node.

It is Implemented on top of petgraph's Graph data structure and attempts to follow similar conventions where suitable.

Me offering you this crate

             _.-"""""'.
           .;__        `\
           /   `\        |
           ;a/ a `'. _   |
 ,_        |/_       _)  /  .-.-.
{(}`\      \.___,     \.'   |   |
 '--''-.(   \_  _     /      \ /
       .-\_ _."-.... ;_       `   .-.-.
        _/ '--.        \          |   |
      ."\    _/\  ,    |           \ /
     /   \_.'  /'./    ;            `
     \__.' '-./   '   /
    __/       `\     /
  .'  ``""--..__\___/
 /                 |
 |    ,            |
  \    ';_        /
   \     \`'-...-'
    \     \    |      __
     \     \   /-----;  '.
   .--\_.-"\         |    \
  /         |._______|\    \
  \_____,__/           '.__|

Documentation

API documentation here!

Usage

Please see the tests directory for some basic usage examples.

Use rose_tree in your project by adding it to your Cargo.toml dependencies like so:

[dependencies]
rose_tree = "*"

and then adding

extern crate rose_tree;

to your lib.rs.

License

Dual-licensed to be compatible with the petgraph and Rust projects.

Licensed under the Apache License, Version 2.0 http://www.apache.org/licenses/LICENSE-2.0 or the MIT license http://opensource.org/licenses/MIT, at your option. This file may not be copied, modified, or distributed except according to those terms.

Beautiful ascii source.

About

An implementation of the "rose tree" data structure for Rust.

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%