Cargo Features
[dependencies]
catfact-rs = { version = "1.0.0", default-features = false, features = ["catfact_ninja", "catfact_heroku"] }
- default = catfact_ninja
-
The
catfact_ninja
feature is set by default whenevercatfact-rs
is added without
somewhere in the dependency tree.default-features = false - catfact_ninja default
-
Affects
catfact-rs::fetch_cat_fact
… - catfact_heroku
-
Affects
catfact-rs::fetch_cat_fact
…