-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
61 lines (55 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
54
55
56
57
58
59
60
61
[package]
name = "glimesh"
description = "Client for performing queries, mutations, and subscriptions against the Glimesh API."
version = "0.9.0"
authors = ["James Birtles <jamesb@airca.st>"]
edition = "2021"
license = "MIT OR Apache-2.0"
readme = "README.md"
keywords = ["glimesh", "graphql"]
categories = ["api-bindings", "asynchronous", "web-programming::websocket", "web-programming::http-client"]
repository = "https://github.com/AircastDev/glimesh-rs"
[features]
default = ["http", "websocket"]
http = []
websocket = [
"glimesh-protocol/socket",
"async-tungstenite",
"serde_urlencoded",
"tokio/io-util",
"tokio/rt-multi-thread",
"tokio/time",
"tokio/macros",
"tokio-util",
"serde_tuple",
"uuid",
"serde_json",
"backoff"
]
[dependencies]
thiserror = "1"
graphql_client = "0.12"
serde = "1"
futures = "0.3"
async-trait = "0.1.43"
reqwest = { version = "0.11", default-features = false, features = ["rustls-tls", "json"] }
anyhow = "1"
chrono = "0.4"
tokio = { version = "1", default-features = false, features = ["sync"] }
tracing = "0.1"
glimesh-protocol = { version = "0.9", default-features = false, features = ["date"], path = "./glimesh-protocol" }
tokio-stream = { version = "0.1", features = ["sync"] }
# feature = "websocket"
async-tungstenite = { version = "0.20", optional = true, features = ["tokio-runtime", "tokio-rustls-webpki-roots"] }
serde_urlencoded = { version = "0.7", optional = true }
tokio-util = { version = "0.7", optional = true }
serde_tuple = { version = "0.5", optional = true }
uuid = { version = "1", optional = true, features = ["serde", "v4"] }
serde_json = { version = "1", optional = true }
backoff = { version = "0.4", optional = true, features = ["tokio"] }
[dev-dependencies]
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
[workspace]
members = [
"glimesh-protocol"
]