Cargo Features
[dependencies]
component_model = { version = "0.12.0", default-features = false, features = ["no_std", "use_alloc", "full", "enabled", "derive_component_model", "derive_components", "derive_component_assign", "derive_components_assign", "derive_component_from", "derive_from_components", "types_component_assign"] }
- default = enabled, full
-
These default features are set whenever
component_modelis added withoutsomewhere in the dependency tree.default-features = false - no_std use_alloc?
-
Enables no_std of collection_tools ~0.32.0 and component_model_types ~0.18.0
- use_alloc = no_std
-
Enables use_alloc of collection_tools ~0.32.0 and component_model_types ~0.18.0
- full default = derive_component_assign, derive_component_from, derive_component_model, derive_components, derive_components_assign, derive_from_components, enabled, types_component_assign
- enabled default full
-
Enables enabled of component_model_meta and component_model_types ~0.18.0
Affects
component_model::dependency,component_model::own,component_model::orphan,component_model::exposed,component_model::prelude… - derive_component_model full = derive_component_assign, derive_component_from, derive_components_assign, derive_from_components
-
Enables derive_component_model of component_model_meta
- derive_components full = derive_component_assign, derive_component_from, derive_components_assign, derive_from_components
-
Enables derive_components of component_model_meta
- derive_component_assign derive_component_model? derive_components? derive_components_assign? full = types_component_assign
-
Enables derive_component_assign of component_model_meta
- derive_components_assign derive_component_model? derive_components? full = derive_component_assign
-
Enables derive_components_assign of component_model_meta
- derive_component_from derive_component_model? derive_components? full
-
Enables derive_component_from of component_model_meta
- derive_from_components derive_component_model? derive_components? full
-
Enables derive_from_components of component_model_meta
- types_component_assign derive_component_assign? full
-
Enables types_component_assign of component_model_types ~0.18.0
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.