trie-generic

Crates.iotrie-generic
lib.rstrie-generic
version1.1.8
sourcesrc
created_at2022-10-23 20:40:11.629783
updated_at2022-10-31 22:20:44.85776
descriptionA trie with generic content
homepage
repositoryhttp://github.com/andrefs/trie-generic
max_upload_size
id695366
size23,218
André Santos (andrefs)

documentation

README

trie-generic

THIS IS CURRENTLY A WORK IN PROGRESS! API MAY CHANGE WITHOUT WARNING.

Rust

Generic implementation of a trie.

Install

Add trie-generic to the dependencies on your Cargo.toml file:

[dependencies]
trie-generic = "0.1.2"

API

Example

To do

  • t.set(key, value)
  • t.all() -> (key, value)
  • t.subtree(prefix) -> Trie
  • Improve docs
  • Replace string/Vec with Iterator

Bugs and stuff

Open a GitHub issue or, preferably, send me a pull request.

Commit count: 0

cargo fmt