[package]
edition = "2021"
name = "lasso"
version = "0.7.3"
authors = ["Chase Wilson <contact@chasewilson.dev>"]
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
A multithreaded and single threaded string interner that allows strings to be cached with a
minimal memory footprint, associating them with a unique key that can be used to retrieve them at any time.
"""
documentation = "https://docs.rs/lasso"
readme = "README.md"
keywords = [
"interner",
"intern",
"string",
"str",
"symbol",
]
categories = [
"data-structures",
"concurrency",
"no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Kixiron/lasso"
[package.metadata.docs.rs]
features = [
"multi-threaded",
"serialize",
]
rustc-args = [
"--cfg",
"docsrs",
]
targets = ["x86_64-unknown-linux-gnu"]
[lib]
name = "lasso"
path = "src/lib.rs"
[[example]]
name = "hello_world"
path = "examples/hello_world.rs"
required-features = ["multi-threaded"]
[[test]]
name = "static_rodeo"
path = "tests/static_rodeo.rs"
[[bench]]
name = "multi_threaded"
path = "benches/multi_threaded.rs"
harness = false
required-features = ["multi-threaded"]
[[bench]]
name = "reader"
path = "benches/reader.rs"
harness = false
[[bench]]
name = "resolver"
path = "benches/resolver.rs"
harness = false
[[bench]]
name = "setup"
path = "benches/setup.rs"
[[bench]]
name = "single_threaded"
path = "benches/single_threaded.rs"
harness = false
[dependencies.abomonation]
version = "0.7.3"
optional = true
default-features = false
[dependencies.ahash]
version = "0.8.0"
features = ["no-rng"]
optional = true
default-features = false
[dependencies.dashmap]
version = "6.0.0"
features = ["raw-api"]
optional = true
[dependencies.deepsize]
version = "0.2.0"
optional = true
default-features = false
[dependencies.hashbrown]
version = "0.14.0"
features = ["raw"]
[dependencies.serde]
version = "1.0.123"
features = ["alloc"]
optional = true
default-features = false
[dev-dependencies.ahash]
version = "0.8.0"
default-features = false
[dev-dependencies.criterion]
version = "0.3.4"
[dev-dependencies.fxhash]
version = "0.2.1"
[dev-dependencies.lazy_static]
version = "1.4.0"
[dev-dependencies.serde_json]
version = "1.0.62"
[features]
ahasher = ["ahash"]
default = []
inline-more = []
multi-threaded = ["dashmap"]
no-std = ["ahasher"]
serialize = [
"serde",
"hashbrown/serde",
]