Cargo Features

[dependencies]
influxdb = { version = "0.7.2", default-features = false, features = ["derive", "use-serde", "curl-client", "h1-client", "h1-client-rustls", "hyper-client", "reqwest-client", "reqwest-client-rustls", "wasm-client"] }
default = reqwest-client-rustls, use-serde

These default features are set whenever influxdb is added without default-features = false somewhere in the dependency tree.

derive = influxdb_derive
use-serde default = serde, serde_json

Affects influxdb::integrations, influxdb::integrations.serde_integration

curl-client = surf

http clients

Enables curl-client of surf

h1-client = surf

Enables h1-client of surf

h1-client-rustls = surf

Enables h1-client-rustls of surf

hyper-client = surf

Enables hyper-client of surf

reqwest-client = reqwest

Enables native-tls-alpn of reqwest ^0.11.4

reqwest-client-rustls default = reqwest

Enables rustls-tls-webpki-roots of reqwest ^0.11.4

wasm-client = surf

Enables wasm-client of surf

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

influxdb_derive derive?
reqwest reqwest-client? reqwest-client-rustls

Enables reqwest ^0.11.4

surf curl-client? h1-client? h1-client-rustls? hyper-client? wasm-client?
serde use-serde
serde_json use-serde