This commit is contained in:
parent
f2ad24655c
commit
d57d0c2db9
10
Cargo.toml
10
Cargo.toml
@ -8,7 +8,7 @@ license = "ISC"
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
[features]
|
||||
default = ["consul"]
|
||||
consul = []
|
||||
consul = ["reqwest"]
|
||||
|
||||
[dependencies]
|
||||
tokio = { version = "1", features = ["full"] }
|
||||
@ -20,10 +20,10 @@ log = "0.4"
|
||||
fern = "0.6"
|
||||
chrono = "0.4"
|
||||
async-trait = "0.1"
|
||||
reqwest = { version = "0.11", features = [
|
||||
"json",
|
||||
"rustls",
|
||||
"hyper-tls",
|
||||
reqwest = { version = "0.11", optional = true, features = [
|
||||
"json",
|
||||
"rustls",
|
||||
"hyper-tls",
|
||||
], default-features = false }
|
||||
|
||||
[profile.release]
|
||||
|
Loading…
Reference in New Issue
Block a user