zenkey 0.3.0

Executable form of the keyspace-v2 Zenoh semantic convention: typed key grammar, origin minting, slugs, QoS profiles, registry slices
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.88"
name = "zenkey"
version = "0.3.0"
authors = ["Marc Pardo <p13marc@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Executable form of the keyspace-v2 Zenoh semantic convention: typed key grammar, origin minting, slugs, QoS profiles, registry slices"
readme = "README.md"
keywords = [
    "zenoh",
    "keyspace",
    "semantic-convention",
    "pubsub",
]
categories = ["network-programming"]
license = "MIT"
repository = "https://github.com/p13marc/zenkey"
resolver = "2"

[features]
decode = [
    "schema",
    "dep:ciborium",
]
decode-protobuf = [
    "decode",
    "dep:prost-reflect",
    "dep:prost",
]
default = ["zenoh"]
schema = [
    "serde",
    "dep:serde_json",
    "dep:base64",
]
schemars = [
    "schema",
    "dep:schemars",
]
serde = ["dep:serde"]
zenoh = ["dep:zenoh"]

[lib]
name = "zenkey"
path = "src/lib.rs"

[[test]]
name = "adv_token"
path = "tests/adv_token.rs"

[[test]]
name = "guard"
path = "tests/guard.rs"

[[bench]]
name = "keys"
path = "benches/keys.rs"
harness = false

[dependencies.base64]
version = "0.22"
optional = true

[dependencies.ciborium]
version = "0.2"
optional = true

[dependencies.dirs]
version = "5"

[dependencies.prost]
version = "0.13"
optional = true

[dependencies.prost-reflect]
version = "0.15"
features = ["serde"]
optional = true

[dependencies.schemars]
version = "1"
optional = true

[dependencies.serde]
version = "1"
features = ["derive"]
optional = true

[dependencies.serde_json]
version = "1"
optional = true

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "2"

[dependencies.toml]
version = "0.8"

[dependencies.tracing]
version = "0.1"

[dependencies.zenoh]
version = "1.9"
features = ["unstable"]
optional = true

[dependencies.zenoh-keyexpr]
version = "1.9"

[dev-dependencies.criterion]
version = "0.5"
features = ["cargo_bench_support"]
default-features = false