# # Copyright (c) 2023 ZettaScale Technology # # This program and the accompanying materials are made available under the # terms of the Eclipse Public License 2.0 which is available at # http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 # which is available at https://www.apache.org/licenses/LICENSE-2.0. # # SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 # # Contributors: # ZettaScale Zenoh Team, # [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 = [] [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 } [target.'cfg(not(features = "std"))'.dependencies] hashbrown = { workspace = true } # NOTE: May cause problems when testing no_std stuff. Check this tool: https://docs.rs/crate/cargo-no-dev-deps/0.1.0 [dev-dependencies] ahash = { workspace = true } criterion = { workspace = true } lazy_static = { workspace = true } rand = { workspace = true, features = ["default"] } [[bench]] name = "keyexpr_tree" harness = false