[package]
edition = "2024"
rust-version = "1.87.0"
name = "vivid_protocol"
version = "1.5.0"
build = false
include = [
"Cargo.toml",
"LICENSE",
"README.md",
"benches/**/*.rs",
"src/**/*.rs",
"vivid-protocol-1.5-*.md",
"vivid-protocol-1.5-registry.toml",
"vivid-protocol-1.1-to-1.5-migration.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Wire types, state models, and deterministic codecs for Vivid Protocol 1.5"
documentation = "https://docs.rs/vivid_protocol"
readme = "README.md"
keywords = [
"terminal",
"graphics",
"media",
"protocol",
"cbor",
]
categories = [
"encoding",
"multimedia",
"network-programming",
]
license = "Apache-2.0"
repository = "https://github.com/vivido-dev/vivid_protocol"
[features]
default = ["native"]
native = [
"dep:zstd",
"dep:zstd-safe",
]
[lib]
name = "vivid_protocol"
path = "src/lib.rs"
[[bench]]
name = "stage0"
path = "benches/stage0.rs"
harness = false
[dependencies.base64]
version = "0.23"
[dependencies.hmac]
version = "0.13"
[dependencies.sha2]
version = "0.11"
[dependencies.subtle]
version = "2.6"
[dependencies.zeroize]
version = "1.9"
features = ["derive"]
[dependencies.zstd]
version = "0.13"
optional = true
[dependencies.zstd-safe]
version = "7.2"
optional = true
[target.'cfg(target_arch = "wasm32")'.dependencies.ruzstd]
version = "0.9"
[profile.dev]
opt-level = 1