[package]
name = "string-interner"
version = "0.20.0"
authors = ["Robbepop"]
license = "MIT/Apache-2.0"
readme = "README.md"
repository = "https://github.com/robbepop/string-interner"
documentation = "https://docs.rs/string-interner"
keywords = ["interner", "intern", "string", "str", "symbol"]
description = """Efficient string interner with minimal memory footprint
and fast access to the underlying strings.
"""
categories = ["data-structures"]
edition = "2021"
rust-version = "1.65.0"
[dependencies]
hashbrown = { version = "0.16.0", default-features = false, features = ["default-hasher", "raw-entry"] }
serde = { version = "1.0", default-features = false, features = ["alloc"], optional = true }
[dev-dependencies]
serde_json = "1.0"
criterion = "0.7.0"
rustc-hash = "2.1.1"
[[bench]]
name = "bench"
harness = false
[features]
default = ["std", "serde", "inline-more", "backends"]
std = ["serde?/std"]
serde = ["dep:serde"]
inline-more = ["hashbrown/inline-more"]
backends = []
test-allocations = []
[badges]
travis-ci = { repository = "Robbepop/string-interner" }
appveyor = { repository = "Robbepop/string-interner", branch = "master", service = "github" }