Cargo Features
[dependencies]
pagerduty-rs = { version = "0.1.6", default-features = false, features = ["sync", "async", "rustls"] }
- default = async
-
These default features are set whenever
pagerduty-rs
is added without
somewhere in the dependency tree.default-features = false Enables reqwest ^0.11.8
- sync
-
Enable reqwest's blocking client on sync
Enables blocking of reqwest ^0.11.8
Affects
pagerduty-rs::eventsv2sync
… - async default
-
Need futures for Async
Affects
pagerduty-rs::eventsv2async
… - rustls
-
Enables rustls of reqwest ^0.11.8