-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
80 lines (65 loc) · 2.25 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
[package]
name = "resonite"
version = "0.3.3"
edition = "2021"
license = "MPL-2.0"
authors = ["ljoonal"]
description = "Resonite's API in rust"
repository = "https://github.com/onlivfe/resonite_rs"
documentation = "https://docs.rs/resonite"
keywords = ["resonite", "api", "socialvr"]
categories = ["api-bindings", "games"]
include = ["src", "Cargo.toml", "LICENSE", "README.md"]
[badges]
maintenance = { status = "experimental" }
[lib]
name = "resonite"
path = "src/lib.rs"
crate-type = ["lib", "dylib"]
[[bin]]
name = "auth-helper"
path = "src/bin/auth-helper.rs"
test = false
bench = false
[features]
default = []
http_client = ["tokio", "governor", "reqwest", "racal/reqwest", "async-trait"]
signalr_client = ["http_client", "tokio", "ezsockets", "tokio-stream", "http", "tokio-tungstenite", "async-trait"]
rand_util = ["nanorand"]
[dependencies]
serde = { version = "1.0.210", features = ["derive"] }
serde_with = { version = "3.9.0", features = ["json", "time_0_3"] }
serde_json = { version = "1.0.128" }
time = { version = "0.3.36", default-features = false, features = [
"serde-well-known",
] }
strum = { version = "0.26.3", features = ["derive"] }
# API client specifics
racal = "0.4.0"
#racal = { path = "../racal", features = ["reqwest"] }
nanorand = { version = "0.7.0", optional = true }
governor = { version = "0.6.3", optional = true }
tokio = { version = "1.40.0", optional = true, features = ["macros"]}
tokio-stream = { version = "0.1.16", optional = true}
http = { version = "1.1.0", optional = true }
async-trait = { version = "0.1.83", optional = true }
# Required to be defined by us since ezsockets doesn't expose a TLS feature
tokio-tungstenite = {version = "0.24.0", optional= true, default-features = false, features = ["rustls-tls-webpki-roots"] }
[dependencies.reqwest]
optional = true
version = "0.12.7"
default-features = false
features = ["json", "rustls-tls"]
[dependencies.ezsockets]
optional = true
version = "0.6.4"
default-features = false
features = ["client", "native_client", "rustls"]
[dev-dependencies]
tokio-test = "0.4.4"
tokio = { version = "1.40.0", features = ["rt", "macros"] }
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "nightly"]
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] }