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