[build-dependencies.prost-build]
version = "0.13.3"
[build-dependencies.protobuf-src]
optional = true
version = "2.1.0"
[dependencies.anyhow]
version = "1.0.90"
[dependencies.base64]
version = "0.22.1"
[dependencies.bstr]
version = "1.10.0"
[dependencies.byteorder]
version = "1.5.0"
[dependencies.bytes]
version = "1.8.0"
[dependencies.hex]
version = "0.4.3"
[dependencies.hex-literal]
version = "0.4.1"
[dependencies.hxdmp]
version = "0.2.1"
[dependencies.num_enum]
version = "0.7.3"
[dependencies.prost]
features = ["prost-derive"]
version = "0.13.3"
[dependencies.prost-types]
version = "0.13.3"
[dependencies.quick-xml]
features = ["serialize", "overlapped-lists", "serde-types"]
version = "0.36.2"
[dependencies.serde]
features = ["derive"]
version = "1.0.210"
[dependencies.serde-xml-rs]
version = "0.6.0"
[dependencies.serde_json]
version = "1.0.132"
[dependencies.serde_path_to_error]
version = "0.1.16"
[dependencies.serde_with]
features = ["base64"]
version = "3.11.0"
[dependencies.tracing]
features = ["attributes"]
version = "0.1.40"
[dependencies.zerocopy]
features = ["derive"]
version = "0.8.7"
[dev-dependencies.clap]
features = ["cargo", "unicode", "wrap_help"]
version = "=4.4.18"
[dev-dependencies.pretty_assertions]
version = "1.4.1"
[dev-dependencies.reqwest]
features = ["blocking"]
version = "0.12.8"
[dev-dependencies.test-log]
features = ["trace"]
version = "0.2.16"
[dev-dependencies.tokio]
features = ["rt-multi-thread", "time", "macros"]
version = "1.40.0"
[dev-dependencies.tracing-subscriber]
features = ["env-filter", "time"]
version = "0.3"
[[example]]
name = "decode-pssh"
path = "examples/decode-pssh.rs"
[[example]]
name = "fetch-pssh-data"
path = "examples/fetch-pssh-data.rs"
[features]
vendored-protoc = ["dep:protobuf-src"]
[lib]
name = "pssh_box"
path = "src/lib.rs"
[package]
authors = ["Eric Marsden <eric.marsden@risk-engineering.org>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = "build.rs"
categories = ["multimedia::video", "parser-implementations"]
description = "Parsing and serialization support for PSSH boxes used in DRM systems"
edition = "2021"
keywords = ["PSSH", "DRM", "DASH", "streaming", "ContentProtection"]
license = "MIT"
name = "pssh-box"
publish = true
readme = "README.md"
repository = "https://github.com/emarsden/pssh-box-rs/"
version = "0.1.10"
[profile.release]
lto = true
opt-level = "s"
[[test]]
name = "generate"
path = "tests/generate.rs"
[[test]]
name = "parsing"
path = "tests/parsing.rs"
[[test]]
name = "roundtrip"
path = "tests/roundtrip.rs"
[[test]]
name = "serializing"
path = "tests/serializing.rs"