Cargo Features

[dependencies]
bounded-collections = { version = "0.3.2", default-features = false, features = ["std", "json-schema", "scale-codec"] }
default = std

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

std default

Enables std of jam-codec, log, parity-scale-codec, scale-info, and serde

serde:

Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library.

json-schema

Enables schemars

scale-codec std = scale-info

Enables parity-scale-codec

Affects codec_utils::scale_codec_impl, codec_utils::PrependCompactInput

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.

serde std
scale-info scale-codec? std
jam-codec std

Affects codec_utils::jam_codec_impl, codec_utils::PrependCompactInput