-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
42 lines (35 loc) · 946 Bytes
/
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
[package]
name = "ruvolt"
description = "An API wrapper for Revolt written in Rust."
version = "0.5.0"
authors = ["Arthur Damasceno <[email protected]>"]
repository = "https://github.com/Arthur-Damasceno/ruvolt"
license = "MIT"
edition = "2021"
[features]
default = ["cache", "state"]
cache = []
state = []
msgpack = ["rmp-serde"]
[dependencies]
# Async
tokio = { version = "1.17", features = ["time", "rt-multi-thread", "sync"] }
futures-util = "0.3"
async-trait = "0.1"
# WebSocket
tokio-tungstenite = { version = "0.17", features = ["rustls-tls-webpki-roots"] }
# Serde
serde = { version = "1", features = ["derive"] }
serde_json = "1"
rmp-serde = { version = "1", optional = true }
# Miscellaneous
thiserror = "1"
bitflags = "1.3"
tracing = "0.1"
# Http
[dependencies.reqwest]
version = "0.11"
default-features = false
features = ["rustls-tls", "json"]
[dev-dependencies]
tokio = { version = "1.17", features = ["macros"] }