[package]
rust-version = { workspace = true }
name = "zenoh-keyexpr"
version = { workspace = true }
repository = { workspace = true }
homepage = { workspace = true }
authors = { workspace = true }
edition = { workspace = true }
license = { workspace = true }
categories = { workspace = true }
description = "Internal crate for zenoh."
[features]
default = ["std"]
std = ["zenoh-result/std", "dep:schemars"]
internal = []
unstable = []
js = ["getrandom/js"]
[dependencies]
keyed-set = { workspace = true }
rand = { workspace = true, features = ["alloc", "getrandom"] }
schemars = { workspace = true, optional = true }
serde = { workspace = true, features = ["alloc"] }
token-cell = { workspace = true }
zenoh-result = { workspace = true }
getrandom = { workspace = true }
[target.'cfg(not(features = "std"))'.dependencies]
hashbrown = { workspace = true }
[dev-dependencies]
ahash = { workspace = true }
criterion = { workspace = true }
lazy_static = { workspace = true }
rand = { workspace = true, features = ["default"] }
[[bench]]
name = "keyexpr_tree"
harness = false
[package.metadata.cargo-machete]
ignored = ["getrandom"]