Cargo Features

[dependencies]
crud-api = { version = "0.1.6", default-features = false, features = ["csv", "dump-derives", "yaml", "json", "toml", "debug-http"] }
default = csv, json, toml, yaml

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

csv default

Enables csv

Affects formats::OutputFormat, formats::clap_output_format_decl, crud-api::Api.output, crud-api::Api.output_multiple

dump-derives

Enables dump-derives of crud-api-derive

yaml default

Enables serde_yaml

Affects formats::OutputFormat, formats::clap_output_format_decl, crud-api::Api.output, crud-api::Api.output_multiple

json default

Affects formats::OutputFormat, formats::clap_output_format_decl, crud-api::Api.output, crud-api::Api.output_multiple

toml default

Enables toml ^0.7

Affects formats::OutputFormat, formats::clap_output_format_decl, crud-api::Api.output, crud-api::Api.output_multiple

debug-http