Cargo Features

[dependencies]
smart_access = { version = "0.7.0", default-features = false, features = ["alloc", "collections", "std_hashmap", "batch_rt", "batch_ct", "batch", "detach", "iter_mut", "traversal", "hashbrown"] }
default = batch, collections, detach, hashbrown, iter_mut, traversal

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

alloc batch_rt? collections iter_mut
collections default = alloc

Affects smart_access::collections

std_hashmap
batch_rt batch = alloc

Affects at::Cps.batch_rt, batch::FnBoxRt, batch::new_batch_rt, batch::BatchRt

batch_ct batch

Affects at::Cps.batch_ct, batch::new_batch_ct, batch::BatchCt

batch default = batch_ct, batch_rt
detach default

Affects at::Cps.attach, at::Cps.cut, at::detached_at

iter_mut default = alloc, multiref

Affects smart_access::iter_mut

traversal default

Affects at::traversal

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.

multiref iter_mut
hashbrown default

Enables hashbrown ^0.8