Cargo Features

[dependencies]
aliyundrive-webdav = { version = "2.3.3", default-features = false, features = ["rustls-tls", "native-tls", "native-tls-vendored", "atomic64"] }
default = atomic64, rustls-tls

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

rustls-tls default = rustls-pemfile, tokio-rustls

Enables stream of hyper ^0.14.27, rustls-tls of reqwest ^0.11.20, rustls of self_update ^0.37.0 and tls-listener ^0.7.0

native-tls

Enables native-tls of reqwest ^0.11.20

reqwest:

Enables native-tls specific functionality not available by default.

native-tls-vendored = openssl-probe

Enables native-tls-vendored of reqwest ^0.11.20

atomic64 default

Enables atomic64 of moka ^0.11.3

moka:

This feature is enabled by default. Disable it when the target platform does not support std::sync::atomic::AtomicU64. (e.g. armv5te-unknown-linux-musleabi or mips-unknown-linux-musl) https://github.com/moka-rs/moka#resolving-compile-errors-on-some-32-bit-platforms

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.

openssl-probe native-tls-vendored?
rustls-pemfile rustls-tls

Enables rustls-pemfile ^1.0.0

TLS server support

tls-listener rustls-tls

Enables tls-listener ^0.7.0

tokio-rustls rustls-tls

Enables tokio-rustls ^0.24.0