# 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 = "2021" name = "pssh-box" version = "0.1.10" authors = ["Eric Marsden "] build = "build.rs" publish = true autobins = false autoexamples = false autotests = false autobenches = false description = "Parsing and serialization support for PSSH boxes used in DRM systems" readme = "README.md" keywords = [ "PSSH", "DRM", "DASH", "streaming", "ContentProtection", ] categories = [ "multimedia::video", "parser-implementations", ] license = "MIT" repository = "https://github.com/emarsden/pssh-box-rs/" [profile.release] opt-level = "s" lto = true [lib] name = "pssh_box" path = "src/lib.rs" [[example]] name = "decode-pssh" path = "examples/decode-pssh.rs" [[example]] name = "fetch-pssh-data" path = "examples/fetch-pssh-data.rs" [[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" [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] version = "0.13.3" features = ["prost-derive"] [dependencies.prost-types] version = "0.13.3" [dependencies.quick-xml] version = "0.36.2" features = [ "serialize", "overlapped-lists", "serde-types", ] [dependencies.serde] version = "1.0.210" features = ["derive"] [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] version = "3.11.0" features = ["base64"] [dependencies.tracing] version = "0.1.40" features = ["attributes"] [dependencies.zerocopy] version = "0.8.7" features = ["derive"] [dev-dependencies.clap] version = "=4.4.18" features = [ "cargo", "unicode", "wrap_help", ] [dev-dependencies.pretty_assertions] version = "1.4.1" [dev-dependencies.reqwest] version = "0.12.8" features = ["blocking"] [dev-dependencies.test-log] version = "0.2.16" features = ["trace"] [dev-dependencies.tokio] version = "1.40.0" features = [ "rt-multi-thread", "time", "macros", ] [dev-dependencies.tracing-subscriber] version = "0.3" features = [ "env-filter", "time", ] [build-dependencies.prost-build] version = "0.13.3" [build-dependencies.protobuf-src] version = "2.1.0" optional = true [features] vendored-protoc = ["dep:protobuf-src"]