Cargo Features

[dependencies]
octorust = { version = "0.9.0", default-features = false, features = ["httpcache", "native-tls", "rustls-tls", "middleware"] }
default = middleware, rustls-tls

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

httpcache = dirs

enable etag-based http_cache functionality

Affects octorust::http_cache

native-tls = openssl

Enables default-tls of reqwest

reqwest:

Note: this doesn't enable the 'native-tls' feature, which adds specific functionality for it.

rustls-tls default = pem, ring

Enables rustls-tls of reqwest

middleware default = reqwest-conditional-middleware, reqwest-middleware, reqwest-retry, reqwest-tracing

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.

dirs httpcache?

Enables dirs ^3.0.2

openssl native-tls?
pem rustls-tls

Enables pem ^1.1.0

reqwest-conditional-middleware middleware
reqwest-middleware middleware
reqwest-retry middleware
reqwest-tracing middleware
ring rustls-tls

Enables ring ^0.16