Cargo Features

[dependencies]
oss-rust-sdk = { version = "0.10.0", default-features = false, features = ["native-tls", "rustls-tls"] }
default = native-tls

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

native-tls default

Enables default-tls of reqwest ^0.11.13

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.13

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.

reqwest native-tls rustls-tls?

Enables reqwest ^0.11.13