Registry / utility / rb-tree

rb-tree

JSON →
library0.5.0rscratesunverified

A Red Black Tree implementation in Rust.

# Cargo.toml [dependencies] rb_tree = "0.5.0"
INSTALL
IMPORT
SIG · RB-TREE
R
rb-tree
utilityrustv0.5.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

RBTree
use rb_tree::RBTree;

Creates a red-black tree, inserts a key-value pair, and retrieves it.

use rb_tree::RBTree; fn main() { let mut tree = RBTree::new(); tree.insert(1, "one"); assert_eq!(tree.get(&1), Some(&"one")); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.5.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources
rb-tree — cargo add rb-tree · libregistry