Cargo Features

[dependencies]
earshot = { version = "0.1.0", default-features = false, features = ["std", "alloc"] }
default = alloc, std

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

std default

Currently just impls std::error::Error for the Error type.

alloc default

Allocates internal buffers on the heap instead of the stack.