fix: influxdb2_client example project (#770)

* fix: influxdb2_client: enable rt-multi-thread

* fix: influxdb2_client: enable reqwest tls

Remove `default-features = false`. The default features of reqwest
enable "default-tls" which is required for support of https transport.
pull/24376/head
Jake Swensen 2021-02-08 15:43:27 -06:00 committed by GitHub
parent f66702b904
commit cd8602086f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -7,11 +7,11 @@ edition = "2018"
[dependencies] # In alphabetical order
bytes = { version = "1.0", default-features = false }
futures = { version = "0.3.5", default-features = false }
reqwest = { version = "0.11", default-features = false, features = ["stream"] }
reqwest = { version = "0.11", features = ["stream"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0.44"
snafu = "0.6.6"
[dev-dependencies] # In alphabetical order
mockito = "0.26.0"
tokio = { version = "1.0", features = ["macros"] }
tokio = { version = "1.0", features = ["macros", "rt-multi-thread"] }