| Crates.io | radyx |
| lib.rs | radyx |
| version | 1.0.0 |
| created_at | 2025-02-16 17:55:13.939681+00 |
| updated_at | 2025-02-16 17:55:13.939681+00 |
| description | A basic radix tree implementation |
| homepage | |
| repository | https://github.com/emrecancorapci/radyx |
| max_upload_size | |
| id | 1557993 |
| size | 13,778 |
A Rust implementation of a Radix Tree (also known as a Compact Prefix Tree) designed to be efficient, scalable, and easy to use. Radix Trees are widely used in applications such as autocomplete systems, routing tables, and prefix-based search.
Add the following to your Cargo.toml:
[dependencies]
radyx = "*"
or use the cargo cli
cargo add radyx
use radyx::Radyx;
let mut node: Radyx<&str> = Radyx::default();
node.insert("/home", "Home");
node.insert("/nothome", "Elsewhere");
assert_eq!(Some(&"Home"), node.get("/home"));