Cargo Features

[dependencies]
bech32 = { version = "0.11.0", default-features = false, features = ["std", "alloc"] }
default = std

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

std default = alloc

Affects bech32::encode_to_writer, bech32::encode_lower_to_writer, bech32::encode_upper_to_writer, bech32::EncodeIoError, segwit::encode_to_writer_unchecked, segwit::encode_lower_to_writer_unchecked, segwit::encode_upper_to_writer_unchecked

alloc std

Affects bech32::decode, bech32::encode, bech32::encode_lower, bech32::encode_upper, bech32::DecodeError, segwit::decode, segwit::encode, segwit::encode_v0, segwit::encode_v1, segwit::DecodeError, segwit::EncodeError