Cargo Features

[dependencies]
countroo = { version = "0.1.7", default-features = false, features = ["full", "newline-config", "toml-config", "yaml-config", "json-config", "xml-config", "tabular-output", "toml-output", "yaml-output", "json-output", "xml-output"] }
default = newline-config, tabular-output

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

Affects countroo::CONFIG_TXT_CONTENTS, countroo::CertainTypesCounter, countroo::AllTypesCounter, countroo::PathHelpers, countroo::LocCounterError, countroo::ConfigBuilder, countroo::CountRoo, output_adapters::StdoutWriter, output_adapters::FileWriter, output_adapters::OutputWriter

full = json-config, json-output, newline-config, tabular-output, toml, toml-config, toml-output, xml-config, xml-output, yaml-config, yaml-output
newline-config default full?

Affects countroo::Config, countroo::Config.config_path

toml-config full? = toml

Affects countroo::Config, countroo::Config.config_path

yaml-config full? = serde_yaml

Affects countroo::Config, countroo::Config.config_path

json-config full? = serde_json

Affects countroo::Config, countroo::Config.config_path

xml-config full? = quick-xml

Affects countroo::Config, countroo::Config.config_path

tabular-output default full? = prettytable-rs

Affects output_adapters::OutputWriter

toml-output full? = toml

Affects output_adapters::TomlWriter

yaml-output full? = serde_yaml

Affects output_adapters::YamlWriter

json-output full? = serde_json

Affects output_adapters::JsonWriter

xml-output full? = quick-xml

Affects output_adapters::XmlWriter

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.

toml full? toml-config? toml-output?
serde_yaml yaml-config? yaml-output?
serde_json json-config? json-output?
quick-xml xml-config? xml-output?
prettytable-rs tabular-output