Cargo Features

[dependencies]
serde_datalog = { version = "0.2.0", default-features = false, features = ["bin_only", "json", "ron", "toml", "yaml", "all", "all_formats"] }
default = json

The json feature is set by default whenever serde_datalog is added without default-features = false somewhere in the dependency tree.

bin_only all?

dependencies only needed by the serde_datalog binary

Enables clap, erased-serde, and serde-transcode

Required by the binary

json default all_formats?

support for converting JSON files with the serde_datalog binary

Enables arbitrary, arbitrary-json, rand, and serde_json

ron all_formats?

support for converting RON files with the serde_datalog binary

Enables ron

Affects input_format::json, input_format::ron

toml all_formats?

support for converting TOML files with the serde_datalog binary

Enables toml

Affects input_format::toml

yaml all_formats?

support for converting YAML files with the serde_datalog binary

Enables serde_yaml

Affects input_format::yaml

all = all_formats, bin_only
all_formats all? = json, ron, toml, yaml