-
Notifications
You must be signed in to change notification settings - Fork 17
/
Cargo.toml
100 lines (88 loc) · 2.36 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
[package]
authors = ["Robert Collins <robert.collins@cognite.com>"]
categories = ["api-bindings", "web-programming"]
default-run = "dump-features"
description = "An API client for https://www.getunleash.io/"
edition = "2018"
homepage = "https://github.com/Unleash/unleash-client-rust/"
keywords = ["continualdeployment"]
license = "Apache-2.0"
name = "unleash-api-client"
readme = "README.md"
repository = "https://github.com/Unleash/unleash-client-rust/"
rust-version = "1.60"
version = "0.11.0"
[badges]
[badges.maintenance]
status = "experimental"
[features]
# Enable backtrace feature in anyhow
backtrace = ["anyhow/backtrace"]
# Force clients to make a choice about which client to use
default = []
# Enable the functional test suite
functional = []
# Built in HTTP clients
reqwest-client = ["reqwest", "reqwest?/default-tls"]
reqwest-client-11 = ["reqwest-11", "reqwest-11?/default-tls"]
# For users that don't want to depend on OpenSSL.
reqwest-client-11-rustls = ["reqwest-11", "reqwest-11?/rustls-tls"]
reqwest-client-rustls = ["reqwest", "reqwest?/rustls-tls"]
# To error if an unsupported API feature is present
strict = []
# For use with --no-default-features
surf-client = ["async-std", "surf"]
[[bench]]
harness = false
name = "is_enabled"
[[bin]]
bench = false
name = "dump-features"
path = "src/bin/dump-features.rs"
required-features = ["surf-client"]
[dependencies]
anyhow = "1.0.44"
arc-swap = "1.4.0"
async-std = { version = "1.10.0", optional = true }
async-trait = "0.1.56"
cfg-if = "1.0.0"
enum-map = "~2.0.1"
futures-timer = "3.0.2"
hostname = "0.3.1"
ipnet = "2.3.1"
log = "0.4.14"
murmur3 = "0.5.1"
rand = "0.8.4"
rustversion = "1.0.7"
serde_json = "1.0.68"
serde_plain = "1.0.0"
surf = { version = "2.3.1", optional = true }
[dependencies.chrono]
default-features = false
features = ["clock", "serde"]
version = "0.4.19"
[dependencies.reqwest]
default-features = false
features = ["json"]
optional = true
version = "0.12"
[dependencies.reqwest-11]
default-features = false
features = ["json"]
optional = true
package = "reqwest"
version = "0.11"
[dependencies.serde]
features = ["derive"]
version = "1.0"
[dev-dependencies]
criterion = "0.3.5" # Remember to update audit.toml
futures = "0.3.17"
maplit = "1.0.2"
num_cpus = "1.13.0"
simple_logger = "2.1.0"
[dev-dependencies.tokio]
features = ["macros", "rt-multi-thread", "time"]
version = "1.12.0"
[lib]
bench = false