forked from aprimadi/influxdb2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
54 lines (48 loc) · 1.73 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
[package]
name = "influxdb2"
version = "0.5.1"
authors = ["Armin Primadi <[email protected]>", "Paul Dix <[email protected]>"]
keywords = ["influxdb", "influxdb2", "influxdb-client"]
description = "Influxdb 2 client library for rust"
homepage = "https://github.com/aprimadi/influxdb2"
repository = "https://github.com/aprimadi/influxdb2"
license = "MIT"
edition = "2018"
[workspace]
members = [
"influxdb2-structmap",
"influxdb2-derive"
]
[features]
default = ["native-tls"]
native-tls = ["reqwest/native-tls"]
rustls = ["reqwest/rustls-tls"]
gzip = ["reqwest/gzip", "dep:async-compression", "dep:tokio-util"]
[dependencies] # In alphabetical order
influxdb2-structmap = { version = "0.2.0", path = "./influxdb2-structmap" }
influxdb2-derive = { version = "0.1.1", path = "./influxdb2-derive" }
# crates.io dependencies
base64 = "0.13"
bytes = { version = "1.0", default-features = false }
chrono = { version = "0.4", features = ["serde"] }
csv = "1.1"
fallible-iterator = "0.2.0"
futures = { version = "0.3", default-features = false }
go-parse-duration = "0.1"
ordered-float = "3.0"
parking_lot = "0.11.1"
reqwest = { version = "0.11", features = ["stream", "json"], default-features = false}
secrecy = "0.8"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0.44"
snafu = "0.6.6"
url = "2.1.1"
async-compression = { version = "0.4.3", features = ["tokio", "gzip"], optional = true }
tokio-util = { version = "0.7.8", features = ["io"], optional = true }
[dev-dependencies] # In alphabetical order
mockito = "0.26.0"
num-traits = "0.2"
once_cell = { version = "1.4.0", features = ["parking_lot"] }
parking_lot = "0.11.1"
tokio = { version = "1.0", features = ["macros", "rt-multi-thread"] }
test_helpers = { path = "./test_helpers" }