-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
55 lines (49 loc) · 1.47 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
[package]
name = "drogue-client"
version = "0.12.0"
authors = ["Jens Reimann <jreimann@redhat.com>"]
license = "Apache-2.0"
description = "Clients for the Drogue IoT Cloud APIs"
repository = "https://github.com/drogue-iot/drogue-client"
homepage = "https://drogue.io"
categories = ["api-bindings"]
keywords = ["IoT", "API"]
readme = "README.md"
edition = "2021"
[dependencies]
async-trait = "0.1"
base64 = "0.13"
base64-serde = "0.6"
chrono = { version = "0.4.20", features = ["serde"] }
futures = "0.3"
humantime-serde = "1"
indexmap = { version = "1", features = ["serde"] }
log = "0.4"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
thiserror = "1"
tokio = { version = "1", features = ["sync"] }
tracing = "0.1"
url = "2"
http = { version = "0.2", optional = true }
nom = { version = "7", optional = true }
openid = { version = "0.10", optional = true }
opentelemetry = { version = "0.18", optional = true }
opentelemetry-http = { version = "0.7", optional = true }
reqwest = { version = "0.11.11", features = ["json"], optional = true } # requires 0.11.11+
lazy_static = { version = "1", optional = true }
prometheus = { version = "0.13", optional = true }
[features]
default = ["reqwest", "openid", "telemetry", "nom"]
telemetry = [
"http",
"lazy_static",
"opentelemetry",
"opentelemetry-http",
"prometheus"
]
# alternate default target for wasm
wasm = ["reqwest", "nom"]
[dev-dependencies]
anyhow = "1"
tokio = { version = "1.17.0", features = ["macros"] }