-
Notifications
You must be signed in to change notification settings - Fork 14
/
Cargo.toml
62 lines (53 loc) · 2.17 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
[package]
name = "crunchyroll-rs"
# increase version of internal package as well when updating
version = "0.12.1"
authors = ["Crunchy Labs Maintainers"]
edition = "2021"
description = "Pure Rust implementation of the crunchyroll api."
readme = "README.md"
repository = "https://github.com/crunchy-labs/crunchyroll-rs"
license = "MIT OR Apache-2.0"
keywords = ["crunchyroll", "anime", "downloader"]
categories = ["api-bindings"]
[features]
default = ["parse"]
# Add functionality to parse Crunchyroll urls.
parse = ["dep:lazy_static", "dep:regex"]
# Add the ability to specify custom middleware.
tower = ["dep:tower-service"]
# Add various stabilizations as Crunchyroll delivers wrong api results in some cases.
experimental-stabilizations = []
# Internal! Do not use it outside of testing
__test_strict = []
[dependencies]
async-trait = "0.1"
chrono = { version = ">=0.4.35", features = ["serde"] }
dash-mpd = { version = "0.17", default-features = false }
futures-util = { version = "0.3", features = ["std"], default-features = false }
jsonwebtoken = { version = "9.3", default-features = false }
# the patch version number is necessary for the 'reqwest' and 'rustls' dependencies to prevent incompatability errors
# (https://github.com/seanmonstar/reqwest/issues/1837)
reqwest = { version = "0.12.8", features = ["cookies", "json", "multipart", "rustls-tls"] }
rustls = { version = "0.23.4", default-features = false, features = ["std", "tls12"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serde_urlencoded = "0.7"
smart-default = "0.7"
tokio = { version = "1.40", features = ["sync"] }
uuid = { version = "1.10", features = ["v4"] }
webpki-roots = "0.26"
crunchyroll-rs-internal = { version = "0.12.1", path = "internal" }
lazy_static = { version = "1.5", optional = true }
regex = { version = "1.11", default-features = false, features = ["std"], optional = true }
tower-service = { version = "0.3", optional = true }
[dev-dependencies]
anyhow = "1.0"
once_cell = "1.20"
rand = "0.8"
tokio = { version = "1.40", features = ["macros", "rt", "rt-multi-thread"] }
[workspace]
members = ["internal"]
[package.metadata.docs.rs]
rustdoc-args = ["--cfg", "docsrs"]
all-features = true