forked from Roblox/rs-consul
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
39 lines (36 loc) · 1.3 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
[package]
name = "rs-consul"
version = "0.2.3"
authors = ["Roblox"]
edition = "2018"
description = "This crate provides access to a set of strongly typed apis to interact with consul (https://www.consul.io/)"
readme = "README.md"
repository = "https://github.com/Roblox/rs-consul"
license-file = "LICENSE"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = ["default-tls"]
default-tls = ["hyper-tls"]
metrics = ["prometheus", "lazy_static"]
rustls-native = ["hyper-rustls/rustls-native-certs"]
rustls-webpki = ["hyper-rustls/webpki-roots"]
# keep this list sorted!
[dependencies]
base64 = "0.13.0"
futures = "0.3.8"
http = "0.2.1"
hyper = { version = "0.14.2", features = ["full"] }
hyper-rustls = { version = "0.22.1", optional = true }
hyper-tls = { version = "0.5.0", optional = true, default-features = false }
lazy_static = { version = "1.4.0", optional = true }
opentelemetry = { version = "0.15", features = ["tokio", "rt-tokio"] }
prometheus = { version = "0.13", optional = true }
quick-error = "2.0"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
slog-scope = "4.3"
smart-default = "0.6.0"
tokio = { version = "1.1.1", features = ["full"] }
ureq = { version = "1.5.4", features = ["json"] }
[dev-dependencies]
base64 = "0.13.0"