Cargo Features
[dependencies]
calc_mjp = { version = "1.1.0", default-features = false, features = ["all", "calc", "say"] }
-
default
=
calc
-
The calc
feature is set by default
whenever calc_mjp
is added without default-features = false
somewhere in the dependency tree.
-
all
=
calc,
say
-
-
calc
default
all?
-
Affects
calc_mjp::add
,
calc_mjp::minus
…
-
say
all?
-
Affects
calc_mjp::say_hello
…