Cargo Features

[dependencies]
influxdb2 = { version = "0.5.2", default-features = false, features = ["native-tls", "rustls", "gzip"] }
default = native-tls

The native-tls feature is set by default whenever influxdb2 is added without default-features = false somewhere in the dependency tree.

native-tls default

Enables native-tls of reqwest ^0.11

reqwest:

Enables native-tls specific functionality not available by default.

rustls

Enables rustls-tls of reqwest ^0.11

gzip

Enables async-compression, tokio-util, gzip of reqwest ^0.11

Influxdb2 has 4 features without comments.

Features from optional dependencies

In alphabetical order