Cargo Features
[dependencies]
sift_science = { version = "0.5.0", default-features = false, features = ["decisions", "labels", "score", "verification", "webhooks", "awc", "awc3", "reqwest"] }
- default = decisions, labels, score, verification, webhooks
-
These default features are set whenever
sift_science
is added without
somewhere in the dependency tree.default-features = false - decisions default
-
Affects
sift_science::decisions
… - labels default
-
Affects
sift_science::labels
… - score default
-
Affects
sift_science::score
… - verification default
-
Affects
sift_science::verification
… - webhooks default = hmac, sha1
-
Affects
sift_science::webhooks
…
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.
- awc implicit feature
-
Enables awc ^2.0
awc:
Async HTTP and WebSocket client library
Affects
client::AwcClient
… - awc3 implicit feature
-
Enables awc
Affects
client::Awc3Client
… - hmac webhooks
- reqwest implicit feature
-
Enables reqwest ^0.11
reqwest:
higher level HTTP client library
Affects
client::ReqwestClient
… - sha1 webhooks