Cargo Features
[dependencies]
tuplez = { version = "0.14.16", default-features = false, features = ["std", "alloc", "full", "full-no-std", "full-nightly", "any_array", "uninit", "unwrap"] }
- default = std, unwrap
-
These default features are set whenever
tuplez
is added without
somewhere in the dependency tree.default-features = false - std default full?
-
serde:
Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library.Affects
ops::Owned
,tuple::TupleLike.owned
… - alloc
-
Enables alloc of optional serde
serde:
Provide impls for types in the Rust core allocation and collections library including String, Box<T>, Vec<T>, and Cow<T>. This is a subset of std but may be enabled without depending on all of std.
Affects
ops::Owned
,tuple::TupleLike.owned
… - full full-nightly? = full-no-std, std
- full-no-std full? = serde, uninit, unwrap
- full-nightly = any_array, full
- any_array full-nightly?
- uninit full-no-std?
-
Affects
tuplez::uninit
,tuple::TupleLike.uninit
,tuple::TupleLike.zeroed
,tuple::TupleLike.to_uninit
,tuple::TupleLike.uninit_assume_init
,tuple::TupleLike.uninit_assume_init_one
,tuple::TupleLike.uninit_assume_init_read
,tuple::TupleLike.uninit_assume_init_read_one
,tuple::TupleLike.uninit_assume_init_ref
,tuple::TupleLike.uninit_assume_init_ref_one
,tuple::TupleLike.uninit_assume_init_mut
,tuple::TupleLike.uninit_assume_init_mut_one
,tuple::TupleLike.uninit_assume_init_drop
,tuple::TupleLike.uninit_assume_init_drop_one
,tuple::TupleLike.uninit_as_ptr
,tuple::TupleLike.uninit_as_mut_ptr
,tuple::TupleLike.uninit_write_one
… - unwrap default full-no-std?
-
Affects
tuplez::unwrap
,tuple::TupleLike.unwrap
,tuple::TupleLike.has_value
,tuple::TupleLike.unwrap_or_default
,tuple::TupleLike.try_unwrap
…
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.