-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
57 lines (47 loc) · 1.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
[package]
name = "ferrischat"
version = "0.0.1"
edition = "2021"
license = "EUPL-1.2"
description = "A API wrapper for the FerrisChat API"
homepage = "https://ferris.chat"
documentation = "https://docs.rs/ferrischat"
repository = "https://github.com/FerrisChat/ferrischat.rs"
# readme = "README.md"
include = [
"src/**/*",
"Cargo.toml",
"/.gitignore",
"/LICENSE",
"/README.md"
]
[dependencies]
futures-util = "0.3"
serde_json = "1.0"
async-trait = "0.1"
url = "2.2"
[dependencies.reqwest]
default-features = false
features = ["json", "multipart", "stream", "gzip"]
optional = true
version = "0.11"
[dependencies.tokio]
version = "1"
default-features = true
features = ["fs", "macros", "rt", "sync", "time"]
[dependencies.tokio-tungstenite]
version = "0.16"
default-features = false
optional = true
features = ["connect"]
[dependencies.ferrischat_common]
version = "0.2"
git = "https://github.com/FerrisChat/Common"
[features]
default = ["rustls_tls", "all"]
http = []
model = []
websocket = []
all = ["http", "model", "websocket"]
rustls_tls = ["reqwest/rustls-tls", "tokio-tungstenite/rustls-tls-webpki-roots"]
native_tls = ["reqwest/native-tls", "tokio-tungstenite/native-tls"]