[package]
name = "rsmp4decrypt"
version = "0.2.0"
edition = "2024"
rust-version = "1.88"
authors = ["bakgio"]
license = "MIT OR Apache-2.0"
description = "Rust bindings and a CLI for Bento4 mp4decrypt"
repository = "https://github.com/bakgio/rsmp4decrypt"
documentation = "https://docs.rs/rsmp4decrypt"
homepage = "https://github.com/bakgio/rsmp4decrypt"
readme = "README.md"
keywords = ["mp4", "drm", "cenc", "cbcs", "bento4"]
categories = ["api-bindings", "cryptography", "multimedia::video"]
exclude = [".github/**", "tests/**"]
[features]
default = []
tokio = ["dep:tokio"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[dependencies]
clap = { version = "4.5", features = ["derive"] }
hex = "0.4"
thiserror = "2"
tokio = { version = "1.48", optional = true, features = ["macros", "process", "rt-multi-thread"] }
[build-dependencies]
cc = { version = "1", features = ["parallel"] }
[[example]]
name = "decrypt_files_concurrently_async"
required-features = ["tokio"]