-
Notifications
You must be signed in to change notification settings - Fork 9
/
Cargo.toml
63 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
63
[package]
name = "rosu-v2"
version = "0.9.0"
description = "An osu! API v2 wrapper"
readme = "README.md"
keywords = ["osu", "api", "wrapper"]
repository = "https://github.com/MaxOhn/rosu-v2"
documentation = "https://docs.rs/rosu-v2/"
authors = ["MaxOhn <[email protected]>"]
edition = "2021"
license = "MIT"
# --- Features ---
[features]
default = ["cache", "macros"]
cache = ["dashmap"]
macros = ["rosu-mods/macros"]
replay = ["osu-db"]
serialize = []
local_oauth = ["tokio/net"]
deny_unknown_fields = []
# --- Dependencies ---
[dependencies]
bytes = { version = "1.0", default-features = false }
futures = { version = "0.3", default-features = false }
leaky-bucket-lite = { version = "0.5" }
hyper = { version = "0.14", default-features = false, features = ["client"] }
hyper-rustls = { version = "0.24.1", default-features = false, features = ["http1", "http2", "native-tokio"] }
itoa = { version = "1.0.9" }
rosu-mods = { version = "0.1.0", features = ["serde"] }
serde = { version = "1.0.203", default-features = false, features = ["derive"] }
serde_json = { version = "1.0", default-features = false, features = ["std", "raw_value"] }
serde_urlencoded = { version = "0.7.1" }
smallstr = { version = "0.3.0", features = ["serde"] }
thiserror = { version = "1.0" }
time = { version = "0.3", features = ["formatting", "parsing"] }
tokio = { version = "1.0", default-features = false, features = ["macros"] }
tracing = { version = "0.1.40", default-features = false }
url = { version = "2.0", default-features = false }
# --- Feature dependencies ---
dashmap = { version = "6.0.1", default-features = false, optional = true }
osu-db = { version = "0.3.0", optional = true }
metrics = { version = "0.23.0", optional = true }
# --- Dev dependencies ---
[dev-dependencies]
dotenvy = { version = "0.15" }
eyre = { version = "0.6" }
once_cell = { version = "1.7" }
tokio = { version = "1.0", default-features = false, features = ["rt", "macros"] }
tracing-subscriber = { version = "0.3.18", default-features = false, features = ["env-filter", "fmt", "smallvec"] }
# --- Metadata ---
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]