Cargo Features
[dependencies]
rudderanalytics = { version = "1.1.4", default-features = false, features = ["cli", "default-tls", "rustls-tls"] }
- default = default-tls
-
The
default-tls
feature is set by default wheneverrudderanalytics
is added without
somewhere in the dependency tree.default-features = false - cli = clap
-
Required by the binary
- default-tls default
-
Enables default-tls of reqwest ^0.11
reqwest:
Note: this doesn't enable the 'native-tls' feature, which adds specific functionality for it.
- rustls-tls
-
Enables rustls-tls of reqwest ^0.11
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.