Cargo Features

[dependencies]
derive_tools = { version = "0.26.0", default-features = false, features = ["no_std", "use_alloc", "full", "enabled", "type_variadic_from", "derive_variadic_from", "derive_add_assign", "derive_add", "derive_as_mut", "derive_as_ref", "derive_constructor", "derive_deref", "derive_deref_mut", "derive_error", "derive_index_mut", "derive_into_iterator", "derive_into", "derive_mul_assign", "derive_mul", "derive_not", "derive_sum", "derive_try_into", "derive_is_variant", "derive_unwrap", "derive_display", "derive_from_str", "derive_strum", "strum_phf", "derive_clone_dyn", "derive_from", "derive_index", "derive_inner_from", "derive_new", "derive_phantom", "parse_display"] }
default = derive_add, derive_add_assign, derive_as_mut, derive_as_ref, derive_clone_dyn, derive_constructor, derive_deref, derive_deref_mut, derive_display, derive_error, derive_from, derive_from_str, derive_index, derive_index_mut, derive_inner_from, derive_into, derive_into_iterator, derive_is_variant, derive_mul, derive_mul_assign, derive_new, derive_not, derive_phantom, derive_strum, derive_sum, derive_try_into, derive_unwrap, derive_variadic_from, enabled, strum_phf, type_variadic_from

These default features are set whenever derive_tools is added without default-features = false somewhere in the dependency tree.

no_std use_alloc?
use_alloc = no_std
full = derive_add, derive_add_assign, derive_as_mut, derive_as_ref, derive_clone_dyn, derive_constructor, derive_deref, derive_deref_mut, derive_display, derive_error, derive_from, derive_from_str, derive_index, derive_index_mut, derive_inner_from, derive_into_iterator, derive_is_variant, derive_mul, derive_mul_assign, derive_new, derive_not, derive_phantom, derive_strum, derive_sum, derive_try_into, derive_unwrap, derive_variadic_from, enabled, strum_phf, type_variadic_from
enabled default full?

Enables derive_tools_meta

internal

Affects derive_tools::dependency, derive_tools::own, derive_tools::orphan, derive_tools::exposed, derive_tools::prelude

type_variadic_from default derive_variadic_from full?

Enables type_variadic_from of variadic_from

derive_variadic_from default full? = type_variadic_from

Enables derive_variadic_from of derive_tools_meta and variadic_from

derive_add_assign default full? = derive_more

Enables add_assign and std of derive_more

external

derive_add default full? = derive_more

Enables add and std of derive_more

derive_as_mut default full?

Enables derive_as_mut of derive_tools_meta

derive_as_ref default full?

Enables derive_as_ref of derive_tools_meta

derive_constructor default full? = derive_more

Enables constructor and std of derive_more

derive_deref default full?

Enables derive_deref of derive_tools_meta

derive_deref_mut default full?

Enables derive_deref_mut of derive_tools_meta

derive_error default full? = derive_more

Enables error and std of derive_more

derive_index_mut default full? = derive_more

Enables index_mut and std of derive_more

derive_into_iterator default full? = derive_more

Enables into_iterator and std of derive_more

derive_into default = derive_more

Enables into of derive_more

derive_mul_assign default full? = derive_more

Enables mul_assign and std of derive_more

derive_mul default full? = derive_more

Enables mul and std of derive_more

derive_not default full? = derive_more

Enables not and std of derive_more

derive_sum default full? = derive_more

Enables std and sum of derive_more

derive_try_into default full? = derive_more

Enables std and try_into of derive_more

derive_is_variant default full? = derive_more

Enables is_variant of derive_more

derive_unwrap default full? = derive_more

Enables std and unwrap of derive_more

derive_display default full? = parse-display
derive_from_str default full? = parse-display

Enables regex and std of parse-display ~0.8.2

derive_strum default full?

Enables derive, std and strum_macros of strum ~0.25

strum_phf default full?

Enables phf, std and strum_macros of strum ~0.25

derive_clone_dyn default full?

zzz : qqq : review features

Enables clone_dyn

derive_from default full?

Enables derive_from of derive_tools_meta

derive_index default full?

Enables derive_index of derive_tools_meta

derive_inner_from default full?

Enables derive_inner_from of derive_tools_meta

derive_new default full?

Enables derive_new of derive_tools_meta

derive_phantom default full?

Enables derive_phantom of derive_tools_meta

parse_display = parse-display

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.

derive_more derive_add derive_add_assign derive_constructor derive_error derive_index_mut derive_into derive_into_iterator derive_is_variant derive_mul derive_mul_assign derive_not derive_sum derive_try_into derive_unwrap
strum derive_strum strum_phf

Enables strum ~0.25

parse-display derive_display derive_from_str parse_display?

Enables parse-display ~0.8.2

derive_tools_meta derive_as_mut derive_as_ref derive_deref derive_deref_mut derive_from derive_index derive_inner_from derive_new derive_phantom derive_variadic_from enabled
variadic_from derive_variadic_from type_variadic_from
clone_dyn derive_clone_dyn