Cargo Features

[dependencies]
eosio-scale-info = { version = "2.1.3", default-features = false, features = ["std", "derive", "docs", "decode", "bit-vec", "serde"] }
default = std

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

std default

Enables std of bitvec and parity-scale-codec

bitvec:

The standard library includes the allocator.

derive = eosio-scale-info-derive
docs

Include rustdoc strings in the type metadata.

Enables docs of eosio-scale-info-derive

decode

enables decoding and deserialization of portable scale-info type metadata

Enables full of parity-scale-codec

bit-vec = bitvec

enables type information for bitvec types, matching the name of the parity-scale-codec feature

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.

bitvec bit-vec? std
eosio-scale-info-derive derive? docs?
serde implicit feature

Enables serde

serde:

A generic serialization/deserialization framework