This repository has been archived by the owner on Sep 23, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
65 lines (55 loc) · 1.7 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
[package]
name = "neos"
version = "0.6.5"
edition = "2021"
license = "MPL-2.0"
authors = ["ljoonal"]
description = "NeosVR's API in rust"
repository = "https://github.com/onlivfe/neos_rs"
documentation = "https://docs.rs/neos"
keywords = ["neos", "neosvr", "api", "socialvr"]
categories = ["api-bindings", "games"]
include = ["src", "Cargo.toml", "LICENSE", "README.md"]
[badges]
maintenance = { status = "experimental" }
[lib]
name = "neos"
path = "src/lib.rs"
[features]
default = ["rand_util"]
http_client = ["tokio", "governor", "reqwest", "racal/reqwest", "async-trait"]
rand_util = ["nanorand"]
# By default we allows deserializing some things partially even with errors.
# Like skipping array entries with errors, which is not wanted for tests though.
debug = []
[dependencies]
serde = { version = "1", features = ["derive"] }
serde_with = { version = "2.3", features = ["json", "time_0_3"] }
serde_json = { version = "1" }
time = { version = "0.3", default-features = false, features = [
"serde-well-known",
] }
strum = { version = "0.24", features = ["derive"] }
# API client specifics
racal = "0.3.3"
#racal = { path = "../racal", features = ["reqwest"] }
governor = { version = "0.5", optional = true }
tokio = { version = "1", optional = true}
async-trait = { version = "0.1", optional = true }
[dependencies.reqwest]
optional = true
version = "0.11"
default-features = false
features = ["json", "rustls-tls"]
[dependencies.nanorand]
version = "0.7"
optional = true
features = ["wyrand", "tls"]
default-features = false
[dev-dependencies]
tokio-test = "0.4"
tokio = { version = "1.27", features = ["rt", "macros"]}
once_cell = "1.17"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "nightly"]