Cargo Features

HeapArray has no features set by default.

[dependencies]
heaparray = { version = "0.5.1", features = ["no-asserts", "mem-block-skip-all", "mem-block-skip-layout-check", "mem-block-skip-ptr-check", "ref-counter-skip-all", "ref-counter-skip-overflow-check"] }
no-asserts = mem-block-skip-all, ref-counter-skip-all

does what it says on the tin - removes all assertions; this can cause undefined behavior.

mem-block-skip-all no-asserts? = mem-block-skip-layout-check, mem-block-skip-ptr-check, mem-block-skip-size-check

Features related to MemBlock. See the documentation on MemBlock for more details.

mem-block-skip-size-check mem-block-skip-layout-check mem-block-skip-all?
mem-block-skip-ptr-check mem-block-skip-all?
ref-counter-skip-all no-asserts? = ref-counter-skip-overflow-check

Features related to RefCounter, defined in heaparray::naive_rc

ref-counter-skip-overflow-check ref-counter-skip-all?