Cargo Features

[dependencies]
rshub = { version = "0.1.6", default-features = false, features = ["rustls", "native-tls", "geolocation"] }
default = rustls

The rustls feature is set by default whenever rshub is added without default-features = false somewhere in the dependency tree.

rustls default

Enables rustls-tls of reqwest ^0.11.4

native-tls

Enables native-tls of reqwest ^0.11.4

reqwest:

Enables native-tls specific functionality not available by default.

geolocation

Affects config::AppConfig.geo_provider, constants::DEFAULT_GEO_PROVIDER_URL, geolocation::LocationJson, app::AppState.locations, states::locations, views::world