Cargo Features
[dependencies]
eskom_se_push-api = { version = "0.2.0", default-features = false, features = ["async", "sync", "ureq", "reqwest"] }
- default = async, reqwest, sync, ureq
-
These default features are set whenever
eskom_se_push-api
is added without
somewhere in the dependency tree.default-features = false - async default = async-trait
-
Affects
eskom_se_push-api::reqwest_async_client
,traits::EndpointAsync
,traits::EndpointAsync.reqwest_client_async
,traits::EndpointAsync.reqwest_async
… - sync default
-
Affects
eskom_se_push-api::reqwest_blocking_client
,traits::Endpoint.reqwest_client
,traits::Endpoint.reqwest
… - ureq default
-
Enables ureq
Affects
eskom_se_push-api::ureq_client
,traits::Endpoint.ureq_client
,traits::Endpoint.ureq
… - reqwest default
-
Enables reqwest ^0.11.13
Affects
eskom_se_push-api::reqwest_async_client
,eskom_se_push-api::reqwest_blocking_client
,traits::Endpoint.reqwest_client
,traits::Endpoint.reqwest
,traits::EndpointAsync
,traits::EndpointAsync.reqwest_client_async
,traits::EndpointAsync.reqwest_async
…
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.