Cargo Features
[dependencies]
type_level_values = { version = "0.1.2", default-features = false, features = ["identity_feature", "large_tlist", "std", "passed_tests", "priv_doctests", "serde"] }
- default = identity_feature, serde, std
-
These default features are set whenever
type_level_values
is added without
somewhere in the dependency tree.default-features = false - identity_feature default
-
Used in generated code as an example feature.
- large_tlist
-
Enables fixe sized impls for large tlists
- std default
-
Affects
mut_const_param::MutConstParam.mutparam_box
,mut_const_param::MutConstParam.mutparam_rc
,mut_const_param::MutConstParam.mutparam_arc
… - passed_tests = priv_doctests
-
If disabled,only runs the tests we are writing at the moment
- priv_doctests passed_tests?
-
Hack used to test that certain things do not compile.
Affects
type_level_values::derive_tests
…
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- serde default