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

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, namely TinyVec.

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.

sha2 cb58? check?
smallvec implicit feature

Enables smallvec

smallvec:

'Small vector' optimization: store up to a small number of items on the stack

tinyvec implicit feature

Enables tinyvec

tinyvec:

tinyvec provides 100% safe vec-like data structures