Cargo Features
[dependencies]
bs58 = { version = "0.5.1", default-features = false, features = ["std", "alloc", "cb58", "smallvec", "tinyvec"] }
- default = std
-
The
std
feature is set by default wheneverbs58
is added without
somewhere in the dependency tree.default-features = false - std default = alloc
-
Enables std of optional tinyvec
tinyvec:
Provide things that require Rust's
std
module - alloc std
-
Enables alloc of optional tinyvec
tinyvec:
Provide things that utilize the
alloc
crate, namelyTinyVec
. - check cb58 = sha2
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.