Cargo Features
[dependencies]
scale-value = { version = "0.18.0", default-features = false, features = ["from-string", "serde", "parser-ss58"] }
- default = from-string, parser-ss58, serde
-
These default features are set whenever
scale-value
is added without
somewhere in the dependency tree.default-features = false - from-string default parser-ss58
-
Enable support for parsing strings into Values.
Enables yap
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