radyx

Crates.ioradyx
lib.rsradyx
version1.0.0
created_at2025-02-16 17:55:13.939681+00
updated_at2025-02-16 17:55:13.939681+00
descriptionA basic radix tree implementation
homepage
repositoryhttps://github.com/emrecancorapci/radyx
max_upload_size
id1557993
size13,778
Emre Can (emrecancorapci)

documentation

README

RADYX - A Basic Radix Tree Implementation

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.

Installation

Add the following to your Cargo.toml:

[dependencies]
radyx = "*"

or use the cargo cli

cargo add radyx

Usage

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"));
Commit count: 12

cargo fmt