-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
47 lines (41 loc) · 1.58 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
[package]
name = "ddragon"
version = "0.8.2"
rust-version = "1.67.1"
edition = "2021"
license = "MIT"
description = "Library for pulling data from ddragon, with caching support."
homepage = "https://github.com/kade-robertson/ddragon"
repository = "https://github.com/kade-robertson/ddragon"
readme = "./README.md"
keywords = ["ddragon", "league-of-legends", "lol", "teamfight-tactics", "tft"]
categories = ["api-bindings"]
[dependencies]
cacache = { version = "11.7.1", optional = true, default-features = false, features = ["tokio-runtime", "mmap"] }
http-cache-reqwest = { version = "0.11", optional = true }
image = { version = "0.24", default-features = false, features = ["png"], optional = true }
reqwest = { version = "0.11", default-features = false, features = ["json"], optional = true }
reqwest-middleware = { version = "0.2", optional = true }
serde = { version = "1.0", features = ["derive"] }
thiserror = { version = "1.0", optional = true }
ureq = { version = "2.7", features = ["json"], optional = true }
url = { version = "2.3", optional = true }
[dev-dependencies]
mockito = "=1.1.1"
tokio = "=1.32.0"
tokio-test = "=0.4.3"
colored = "=2.0.4"
[features]
default = ["sync"]
sync = ["dep:thiserror", "dep:url", "dep:ureq", "dep:cacache"]
async-base = ["dep:thiserror", "dep:url", "dep:reqwest", "dep:reqwest-middleware", "dep:http-cache-reqwest"]
async = ["async-base", "reqwest?/native-tls"]
async-rustls = ["async-base", "reqwest?/rustls"]
image = ["dep:image"]
[profile.dev]
debug = 0
[profile.release]
debug = 0
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]