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