Cargo Features
[dependencies]
sauce-api = { version = "1.0.0", default-features = false, features = ["saucenao", "iqdb", "rustls", "native_tls"] }
- default = iqdb, saucenao
-
These default features are set whenever
sauce-api
is added without
somewhere in the dependency tree.default-features = false - saucenao default
-
Enables getting stuff from SauceNao
Affects
source::saucenao
… - iqdb default
-
Enables getting stuff from IQDB
Enables visdom ^0.5.8
Affects
source::iqdb
… - rustls
-
Enables rustls-tls of reqwest ^0.11.13
- native_tls
-
This does a bit more than just using default reqwest features See this comment in their Cargo.toml https://github.com/seanmonstar/reqwest/blob/master/Cargo.toml#L30 So we don't include it in the default features, but have it for symmetry
Enables native-tls of reqwest ^0.11.13