-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
38 lines (34 loc) · 1.07 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
[package]
name = "adapt"
version = "0.0.0-alpha1"
edition = "2021"
description = "Official wrapper around for the Adapt chat platform API."
license = "MIT"
repository = "https://github.com/adaptchat/adapt-rs"
# TODO: Add feature for HTTP
[dependencies]
bytes = "1"
chrono = { version = "0.4", optional = true }
essence = { version = "0.7", features = ["client"] }
futures-util = "0.3"
log = "0.4"
reqwest = { version = "0.12", default-features = false, features = ["gzip", "rustls-tls"] }
rmp-serde = "1.3"
secrecy = { version = "0.8", features = ["serde"] }
serde = "1"
serde_json = "1"
simd-json = { version = "0.13", optional = true }
tokio = { version = "1.23", default-features = false, features = ["macros", "time"] }
tokio-tungstenite = { version = "0.23", optional = true, features = ["native-tls"] }
url = "2.5"
[features]
default = ["ws"]
simd = ["dep:simd-json"]
ws = ["dep:tokio-tungstenite"]
chrono = ["dep:chrono"]
[patch.crates-io.essence]
git = "https://github.com/adaptchat/essence"
branch = "main"
[[example]]
name = "ping_pong"
required-features = ["tokio/rt-multi-thread"]