[package]
rust-version = { workspace = true }
name = "zenoh-protocol"
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"]
internal = []
std = [
"rand?/std",
"rand?/std_rng",
"serde/std",
"uhlc/std",
"zenoh-keyexpr/std",
"zenoh-result/std",
]
shared-memory = ["std", "zenoh-buffers/shared-memory"]
stats = []
test = ["rand", "zenoh-buffers/test"]
[dependencies]
const_format = { workspace = true }
rand = { workspace = true, features = ["alloc", "getrandom"], optional = true }
serde = { workspace = true, features = ["alloc"] }
uhlc = { workspace = true, default-features = false }
zenoh-buffers = { workspace = true, default-features = false }
zenoh-keyexpr = { workspace = true }
zenoh-result = { workspace = true }
[dev-dependencies]
lazy_static = { workspace = true }
rand = { workspace = true, features = ["default"] }