[package]
edition = "2021"
name = "dash-mpd-cli"
version = "0.2.32"
authors = ["Eric Marsden <eric.marsden@risk-engineering.org>"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Download media content from a DASH-MPEG or DASH-WebM MPD manifest."
documentation = "https://emarsden.github.io/dash-mpd-cli/"
readme = "README.md"
keywords = [
"video",
"streaming",
"DASH",
"MPEG",
"download",
]
categories = [
"command-line-utilities",
"multimedia",
"multimedia::video",
]
license = "MIT"
repository = "https://github.com/emarsden/dash-mpd-cli"
[features]
cookies = ["dep:decrypt-cookies"]
default = [
"cookies",
"rustls",
]
native-tls = [
"dash-mpd/native-tls",
"reqwest/native-tls",
]
rustls = [
"dash-mpd/rustls",
"reqwest/rustls",
]
sandbox = ["dash-mpd/sandbox"]
[[bin]]
name = "dash-mpd-cli"
path = "src/main.rs"
[[test]]
name = "basic"
path = "tests/basic.rs"
[[test]]
name = "basic_auth"
path = "tests/basic_auth.rs"
[[test]]
name = "bearer_auth"
path = "tests/bearer_auth.rs"
[[test]]
name = "client-certificate"
path = "tests/client-certificate.rs"
[[test]]
name = "commandline"
path = "tests/commandline.rs"
[[test]]
name = "conformity"
path = "tests/conformity.rs"
[[test]]
name = "container"
path = "tests/container.rs"
[[test]]
name = "decryption"
path = "tests/decryption.rs"
[[test]]
name = "fetch_fault_injection"
path = "tests/fetch_fault_injection.rs"
[[test]]
name = "headers"
path = "tests/headers.rs"
[[test]]
name = "muxers"
path = "tests/muxers.rs"
[[test]]
name = "progressbar"
path = "tests/progressbar.rs"
[[test]]
name = "role"
path = "tests/role.rs"
[[test]]
name = "root-certificate"
path = "tests/root-certificate.rs"
[[test]]
name = "subtitles"
path = "tests/subtitles.rs"
[[test]]
name = "xslt"
path = "tests/xslt.rs"
[dependencies.anyhow]
version = "1.0.102"
[dependencies.clap]
version = "4.5.60"
features = [
"cargo",
"unicode",
"wrap_help",
]
[dependencies.dash-mpd]
version = "0.20.2"
features = [
"fetch",
"compression",
"scte35",
"http2",
]
default-features = false
[dependencies.decrypt-cookies]
version = "0.10.4"
optional = true
[dependencies.fs-err]
version = "3.3.0"
[dependencies.indicatif]
version = "0.18.4"
[dependencies.json-escape]
version = "0.3.1"
[dependencies.number_prefix]
version = "0.4.0"
[dependencies.reqwest]
version = "0.13.2"
features = [
"gzip",
"socks",
"json",
"cookies",
"http2",
"rustls",
]
default-features = false
[dependencies.serde_json]
version = "1.0.149"
[dependencies.tempfile]
version = "3.26.0"
[dependencies.time]
version = "0.3.47"
features = ["local-offset"]
[dependencies.tokio]
version = "1.50.0"
features = [
"rt-multi-thread",
"macros",
]
[dependencies.tracing]
version = "0.1.44"
features = ["attributes"]
[dependencies.tracing-subscriber]
version = "0.3.22"
features = [
"env-filter",
"time",
"json",
"fmt",
"std",
]
[dependencies.url]
version = "2.5.8"
[dependencies.versions]
version = "7.0.0"
[dev-dependencies.assert_cmd]
version = "2.1.2"
[dev-dependencies.assert_fs]
version = "1.1.3"
[dev-dependencies.axum]
version = "0.8.8"
features = [
"tokio",
"http1",
]
[dev-dependencies.axum-auth]
version = "0.8.1"
[dev-dependencies.axum-server]
version = "0.8.0"
features = ["tls-rustls"]
[dev-dependencies.ffprobe]
version = "0.4.0"
[dev-dependencies.file-format]
version = "0.28.0"
features = ["reader"]
[dev-dependencies.http]
version = "1.4.0"
[dev-dependencies.hyper]
version = "1.8.1"
[dev-dependencies.hyper-util]
version = "0.1.20"
[dev-dependencies.jzon]
version = "0.12.5"
[dev-dependencies.lazy_static]
version = "1.5.0"
[dev-dependencies.mp4]
version = "0.14.0"
[dev-dependencies.predicates]
version = "3.1.4"
[dev-dependencies.quick-xml]
version = "0.39.2"
features = ["serialize"]
[dev-dependencies.rustls]
version = "0.23.36"
features = ["aws_lc_rs"]
[dev-dependencies.rustls-pki-types]
version = "1.14.0"
[dev-dependencies.test-log]
version = "0.2.19"
features = ["trace"]
[dev-dependencies.tokio]
version = "1.50.0"
features = [
"rt-multi-thread",
"time",
"macros",
]
[dev-dependencies.tokio-rustls]
version = "0.26.4"
[dev-dependencies.tracing-subscriber]
version = "0.3.22"
features = [
"env-filter",
"json",
"fmt",
"time",
"std",
]
[target.'cfg(target_os="macos")'.dependencies.decrypt-cookies]
version = "0.10.4"
features = ["Safari"]
optional = true
[profile.release]
opt-level = "z"
lto = "fat"
codegen-units = 1