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 wheneverbarf
is added without
somewhere in the dependency tree.default-features = false - 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
…