Cargo Features

sled has no features set by default.

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

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

testing-count-allocator

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

for-internal-testing-only