rsmp4decrypt 0.2.0

Rust bindings and a CLI for Bento4 mp4decrypt
# 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 = "rsmp4decrypt"
version = "0.2.0"
authors = ["bakgio"]
build = "build.rs"
exclude = [
    ".github/**",
    "tests/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust bindings and a CLI for Bento4 mp4decrypt"
homepage = "https://github.com/bakgio/rsmp4decrypt"
documentation = "https://docs.rs/rsmp4decrypt"
readme = "README.md"
keywords = [
    "mp4",
    "drm",
    "cenc",
    "cbcs",
    "bento4",
]
categories = [
    "api-bindings",
    "cryptography",
    "multimedia::video",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/bakgio/rsmp4decrypt"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = []
tokio = ["dep:tokio"]

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

[[bin]]
name = "rsmp4decrypt"
path = "src/main.rs"

[[example]]
name = "decrypt_file"
path = "examples/decrypt_file.rs"

[[example]]
name = "decrypt_files_concurrently"
path = "examples/decrypt_files_concurrently.rs"

[[example]]
name = "decrypt_files_concurrently_async"
path = "examples/decrypt_files_concurrently_async.rs"
required-features = ["tokio"]

[[example]]
name = "decrypt_memory"
path = "examples/decrypt_memory.rs"

[[example]]
name = "decrypt_with_multiple_keys"
path = "examples/decrypt_with_multiple_keys.rs"

[[example]]
name = "decrypt_with_progress"
path = "examples/decrypt_with_progress.rs"

[dependencies.clap]
version = "4.5"
features = ["derive"]

[dependencies.hex]
version = "0.4"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1.48"
features = [
    "macros",
    "process",
    "rt-multi-thread",
]
optional = true

[build-dependencies.cc]
version = "1"
features = ["parallel"]