Cargo Features
[dependencies]
belajar-say-hello = { version = "0.3.0", default-features = false, features = ["all", "hello", "bye"] }
- default = hello
-
The
hello
feature is set by default wheneverbelajar-say-hello
is added without
somewhere in the dependency tree.default-features = false - all = bye, hello
- hello default all?
-
Affects
belajar-say-hello::say_hello
,belajar-say-hello::say_hello_to_everyone
… - bye all?
-
Affects
belajar-say-hello::say_goodbye
,belajar-say-hello::say_goodbye_to_everyone
…