• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..31-Mar-2022-

src/H31-Mar-2022-345199

tests/H31-Mar-2022-176130

.cargo-checksum.jsonH A D03-May-202289 11

Cargo.tomlH A D31-Mar-20221.1 KiB2523

LICENSE-APACHEH A D31-Mar-202210.6 KiB202169

LICENSE-MITH A D31-Mar-20221 KiB2622

README.mdH A D31-Mar-20222.5 KiB7750

README.md

1# rose_tree [![Build Status](https://travis-ci.org/mitchmindtree/rose_tree-rs.svg?branch=master)](https://travis-ci.org/mitchmindtree/rose_tree-rs) [![Crates.io](https://img.shields.io/crates/v/rose_tree.svg)](https://crates.io/crates/rose_tree) [![Crates.io](https://img.shields.io/crates/l/rose_tree.svg)](https://github.com/mitchmindtree/rose_tree-rs/blob/master/LICENSE-MIT)
2
3
4
5An implementation of the [**rose tree** (aka **multi-way tree**) data structure](https://en.wikipedia.org/wiki/Rose_tree) for Rust.
6
7An indexable tree data structure with a variable and unbounded number of branches per node.
8
9It is Implemented on top of [petgraph](https://github.com/bluss/petulant-avenger-graphlibrary)'s [Graph](http://bluss.github.io/petulant-avenger-graphlibrary/doc/petgraph/graph/struct.Graph.html) data structure and attempts to follow similar conventions where suitable.
10
11
12Me offering you this crate
13--------------------------
14
15                 _.-"""""'.
16               .;__        `\
17               /   `\        |
18               ;a/ a `'. _   |
19     ,_        |/_       _)  /  .-.-.
20    {(}`\      \.___,     \.'   |   |
21     '--''-.(   \_  _     /      \ /
22           .-\_ _."-.... ;_       `   .-.-.
23            _/ '--.        \          |   |
24          ."\    _/\  ,    |           \ /
25         /   \_.'  /'./    ;            `
26         \__.' '-./   '   /
27        __/       `\     /
28      .'  ``""--..__\___/
29     /                 |
30     |    ,            |
31      \    ';_        /
32       \     \`'-...-'
33        \     \    |      __
34         \     \   /-----;  '.
35       .--\_.-"\         |    \
36      /         |._______|\    \
37      \_____,__/           '.__|
38
39
40
41Documentation
42-------------
43
44[API documentation here!](http://mitchmindtree.github.io/rose_tree-rs/rose_tree)
45
46
47Usage
48-----
49
50Please see the [tests directory](https://github.com/mitchmindtree/rose_tree-rs/tree/master/tests) for some basic usage examples.
51
52Use rose_tree in your project by adding it to your Cargo.toml dependencies like so:
53
54```toml
55[dependencies]
56rose_tree = "*"
57```
58
59and then adding
60
61```rust
62extern crate rose_tree;
63```
64
65to your lib.rs.
66
67
68License
69-------
70
71Dual-licensed to be compatible with the petgraph and Rust projects.
72
73Licensed 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.
74
75
76[Beautiful ascii source](http://www.chris.com/ascii/joan/www.geocities.com/SoHo/7373/flowers.html).
77