Cargo Features

[dependencies]
belajar_rust_crate_say_hello = { version = "0.2.0", default-features = false, features = ["all", "greet", "jam"] }
default = greet

The greet feature is set by default whenever belajar_rust_crate_say_hello is added without default-features = false somewhere in the dependency tree.

all = greet, jam
greet default all?

Affects belajar_rust_crate_say_hello::say_greetings

jam all?

Affects belajar_rust_crate_say_hello::get_time