Cargo Features

[dependencies]
cdviz-collector = { version = "0.2.3", default-features = false, features = ["sink_db", "sink_folder", "sink_http", "source_http", "source_opendal", "transformer_hbs", "transformer_vrl", "tool_ui", "tool_transform"] }
default = sink_db, sink_folder, sink_http, source_http, source_opendal, tool_transform

default is "full" feature set

sink_db default

### Sinks

Enables sqlx

sink_folder default

Enables opendal

sink_http default

Enables reqwest-middleware and reqwest-tracing, charset, http2, json and rustls-tls of reqwest

source_http default

### Sources

Enables axum and axum-tracing-opentelemetry

source_opendal default tool_transform = transformer_hbs, transformer_vrl

Enables bytes, csv, globset, handlebars, handlebars_misc_helpers, and opendal

transformer_hbs source_opendal tool_transform

### Transformers

Enables handlebars and handlebars_misc_helpers

transformer_vrl source_opendal tool_transform

Enables vrl

tool_ui tool_transform

### Tools

Enables cliclack, console, and similar

Affects tools::ui

tool_transform default = source_opendal, tool_ui, transformer_hbs, transformer_vrl

Affects tools::difference, tools::transform