Cargo Features

sled has no features set by default.

[dependencies]
sled = { version = "1.0.0-alpha.124", features = ["testing-shred-allocator", "testing-count-allocator", "for-internal-testing-only", "monotonic-behavior"] }
testing-shred-allocator

initializes allocated memory to 0xa1, writes 0xde to deallocated memory before freeing it

Affects sled::alloc

testing-count-allocator

use a counting global allocator that provides the sled::alloc::{allocated, freed, resident, reset} functions

for-internal-testing-only
monotonic-behavior

turn off re-use of object IDs and heap slots, disable tree leaf merges, disable heap file truncation.