forked from MaxOhn/rosu-v2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
53 lines (45 loc) · 1.84 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
[package]
name = "rosu-v2"
version = "0.8.0"
authors = ["MaxOhn <[email protected]>"]
edition = "2018"
description = "An osu! API v2 wrapper"
license = "MIT"
readme = "README.md"
keywords = ["osu", "api", "wrapper"]
repository = "https://github.com/MaxOhn/rosu-v2"
documentation = "https://docs.rs/rosu-v2/"
# --- Features ---
[features]
default = ["cache"]
serialize = []
cache = ["dashmap"]
metrics = ["prometheus"]
replay = ["osu-db"]
# --- Dependencies ---
[dependencies]
bitflags = { version = "1.0", default-features = false }
bytes = { version = "1.0", default-features = false }
futures = { version = "0.3", default-features = false }
leaky-bucket-lite = { version = "0.5" }
log = { version = "0.4", default-features = false }
hyper = { version = "0.14", default-features = false, features = ["client"] }
hyper-rustls = { version = "0.23", default-features = false, features = ["http1", "http2", "native-tokio"] }
serde = { version = "1.0", default-features = false, features = ["derive"] }
serde_json = { version = "1.0", default-features = false, features = ["std"] }
smallstr = { version = "0.2", features = ["serde"] }
time = { version = "0.3", features = ["formatting", "parsing"] }
tokio = { version = "1.0", default-features = false, features = ["macros"] }
url = { version = "2.0", default-features = false }
# --- Feature dependencies ---
dashmap = { version = "5.1", default-features = false, optional = true }
osu-db = { version = "0.3.0", optional = true }
prometheus = { version = "0.13", optional = true }
rkyv = { version = "0.7", optional = true }
# --- Dev dependencies ---
[dev-dependencies]
dotenv = { version = "0.15" }
env_logger = { version = "0.9" }
eyre = { version = "0.6" }
once_cell = { version = "1.7" }
tokio = { version = "1.0", default-features = false, features = ["rt", "macros"] }