Cargo Features

[dependencies]
barf = { version = "1.0.0", default-features = false, features = ["std", "alloc", "leb128", "vint64"] }
default = std

The std feature is set by default whenever barf is added without default-features = false somewhere in the dependency tree.

std default = alloc

Affects barf_ext::StringBarfExt

alloc std

Affects barf_ext::StringBarfExt

leb128

Enables nano-leb128

Affects barfer_ext::ByteBarferExt.uleb128, barfer_ext::ByteBarferExt.sleb128

vint64

Enables vint64

Affects barfer_ext::ByteBarferExt.uvint64, barfer_ext::ByteBarferExt.svint64