Cargo Features

[dependencies]
scale-value = { version = "0.14.1", default-features = false, features = ["std", "from-string", "serde", "parser-ss58"] }
default = from-string, parser-ss58, serde, std

These default features are set whenever scale-value is added without default-features = false somewhere in the dependency tree.

std default

Only work in "std" environments:

Enables use_std of either, std of scale-bits, scale-decode, scale-encode, scale-info, serde_json, and optional serde

from-string default parser-ss58

Enable support for parsing strings into Values.

Enables yap ^0.11.0

Affects scale-value::stringify.custom_parsers, scale-value::stringify.from_str, scale-value::stringify.from_str_custom, string_helpers::from_escape_code

serde default

Enable serde support for serializing/deserializing Values.

Enables scale-bits and serde

Affects scale-value::serde

parser-ss58 default = from-string

Provide an ss58 address parser

Enables base58 and blake2