-
Notifications
You must be signed in to change notification settings - Fork 35
/
Cargo.toml
69 lines (62 loc) · 2.37 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
[package]
name = "dash-mpd-cli"
version = "0.2.23"
authors = ["Eric Marsden <[email protected]>"]
license = "MIT"
description = "Download media content from a DASH-MPEG or DASH-WebM MPD manifest."
readme = "README.md"
repository = "https://github.com/emarsden/dash-mpd-cli"
documentation = "https://emarsden.github.io/dash-mpd-cli/"
keywords = ["video", "streaming", "DASH", "MPEG", "download"]
categories = ["command-line-utilities", "multimedia", "multimedia::video"]
edition = "2021"
publish = true
[dependencies]
tokio = { version = "1.41.1", features = ["rt-multi-thread", "macros"] }
tracing = { version = "0.1.40", features = ["attributes"] }
tracing-subscriber = { version = "0.3", features = ["env-filter", "time"] }
time = { version = "0.3.36", features = ["local-offset"] }
dash-mpd = { version = "0.17.3", default-features = false, features = ["fetch", "compression", "rustls-tls", "scte35"] }
reqwest = { version = "0.12.9", default-features = false, features = ["gzip", "rustls-tls", "socks", "json", "cookies"] }
# We need to stay synchronized with the version used in the decrypt-cookies crate.
strum = { version = "0.26.3", features = ["derive"] }
colored = "2.1.0"
indicatif = "0.17.8"
clap = { version = "=4.4.18", features = ["cargo", "unicode", "wrap_help"] }
serde_json = "1.0.131"
versions = "6.3.2"
fs-err = "3.0.0"
number_prefix = "0.4.0"
anyhow = "1.0.93"
tempfile = "3.14.0"
decrypt-cookies = { version = "0.6.1", features = ["reqwest"], optional = true }
[dev-dependencies]
rustls = { version = "0.23.16", features = ["aws_lc_rs"] }
rustls-pki-types = "1.9.0"
rustls-pemfile = "2.2.0"
tokio = { version = "1.41.1", features = ["rt-multi-thread", "time", "macros"] }
tokio-rustls = "0.26.0"
tracing-subscriber = { version = "0.3", features = ["env-filter", "time"] }
test-log = { version = "0.2.16", features = ["trace"] }
http = "1.1.0"
hyper = "1.4.1"
hyper-util = "0.1.9"
axum = "0.7.7"
hyper-serve = { version = "0.6.2", features = ["tls-rustls"] }
axum-auth = "0.7"
quick-xml = { version = "0.37.0", features = ["serialize"] }
mp4 = "0.14.0"
lazy_static = "1.5.0"
ffprobe = "0.4.0"
file-format = { version = "0.26.0", features = ["reader"] }
json = "0.12.4"
assert_cmd = "2.0.16"
assert_fs = "1.1.2"
predicates = "3.1.2"
[features]
default = ["cookies"]
cookies = ["decrypt-cookies"]
[profile.release]
opt-level = "z" # optimize for size
lto = "fat"
codegen-units = 1