Cargo Features
[dependencies]
say-hello-rector = { version = "0.3.2", default-features = false, features = ["hello", "bye"] }
- default = bye, hello
-
These default features are set whenever
say-hello-rector
is added without
somewhere in the dependency tree.default-features = false - hello default
-
Affects
say-hello-rector::say_hello
,say-hello-rector::say_hello_to_everyone
… - bye default
-
Affects
say-hello-rector::say_goodbye
,say-hello-rector::say_goodbye_to_everyone
…