Cargo Features

[dependencies]
arc-rs = { version = "0.5.1", default-features = false, features = ["convert", "json", "yaml", "hjson"] }
default = convert

The convert feature is set by default whenever arc-rs is added without default-features = false somewhere in the dependency tree.

convert default = json, toml, yaml
json convert = serde_json

Enables preserve_order of serde_json

serde_json:

Make serde_json::Map use a representation which maintains insertion order.
This allows data to be read into a Value and written back to a JSON string while preserving the order of map keys in the input.

Affects wrap_parser::parse_json

yaml convert = yaml-rust

Affects wrap_parser::parse_yaml

hjson = serde-hjson

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_json json?
toml convert

Enables toml ^0.5

Affects wrap_parser::parse_toml

yaml-rust yaml?
serde-hjson hjson?

Enables serde-hjson ^0.9