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 whenever rudderanalytics is added without default-features = false somewhere in the dependency tree.

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.

clap cli?

Enables clap ^3.2