Cargo Features

[dependencies]
clickhouse-format = { version = "0.3.0", default-features = false, features = ["with-all", "with-tsv", "with-json"] }
default = with-json

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

with-all = with-json, with-tsv
with-tsv with-all? = csv, serde

Affects output::tsv, output::tsv_raw, output::tsv_with_names, output::tsv_with_names_and_types, output::TabSeparatedOutput, output::TabSeparatedRawOutput, output::TabSeparatedWithNamesOutput, output::TabSeparatedWithNamesAndTypesOutput

with-json default with-all? = serde, serde-aux, serde_json, thiserror

Affects input::json_compact_each_row, output::json, output::json_compact, output::json_compact_strings, output::json_strings, output::json_compact_each_row, output::json_compact_each_row_with_names_and_types, output::json_compact_strings_each_row, output::json_compact_strings_each_row_with_names_and_types, output::json_each_row, output::json_each_row_with_progress, output::json_strings_each_row, output::json_strings_each_row_with_progress

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.

csv with-tsv?
serde_json with-json
serde with-json with-tsv?
thiserror with-json

Enables thiserror ^1

serde-aux with-json