rust-leb128 has no features set by default.
[dependencies] rust-leb128 = { version = "0.1.0", features = ["alloc", "std"] }
Enable alloc.
alloc
Enable std.
std