Cargo Features

[dependencies]
regroup = { version = "0.4.3", default-features = false, features = ["std", "alloc", "depth_2", "depth_3", "depth_4", "depth_5", "depth_6", "depth_7", "rc", "arc", "primitives"] }
default = depth_3, std

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

std default = alloc, arc, rc
alloc arc? rc? std

Affects regroup::ArrayExt.into_boxed_slice_of, regroup::into_boxed_slice, regroup::into_vec, regroup::try_from_boxed_slice, regroup::empty_boxed, regroup::try_cast_box, regroup::try_cast_vec

depth_2 depth_3
depth_3 default depth_4? = depth_2
depth_4 depth_5? = depth_3
depth_5 depth_6? = depth_4
depth_6 depth_7? = depth_5
depth_7 = depth_6
rc std = alloc

Affects regroup::ArrayExt.into_rc_slice_of, regroup::into_rc_slice, regroup::try_cast_rc

arc std = alloc

Affects regroup::ArrayExt.into_arc_slice_of, regroup::into_arc_slice, regroup::try_cast_arc

primitives