Cargo Features

Chewdata has no features set by default.

[dependencies]
chewdata = { version = "2.10.0", features = ["xml", "csv", "toml", "parquet", "bucket", "curl", "mongodb", "psql", "apm", "ordered"] }
default

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

Enables max_level_trace and release_max_level_info of tracing

Logs

xml

Enables quick-xml

For readers

Affects document::xml, helper::xml2json

csv

Enables csv

Affects document::csv

toml

Enables toml

Affects document::toml

parquet

Enables arrow-integration-test ^49.0

used to transform json_value to schema

and arrow-json ^49.0, byteorder, bytes, and parquet ^49.0

arrow-json:

used to create the batch with json_value

Affects document::parquet

bucket

Enables async-compat, aws-config, and aws-sdk-s3

aws-config:

For Connectors
 bucket

Affects connector::bucket, connector::bucket_select

curl

Enables http-cache-surf ^0.12, http-types, jsonwebtoken, and surf

Affects counter::curl, connector::authenticator, connector::curl, paginator::curl

mongodb

Enables mongodb

Affects counter::mongodb, connector::mongodb, paginator::mongodb

psql = sqlx

Enables postgres of sqlx

Affects counter::psql, connector::psql, paginator::psql

apm

Enables opentelemetry ^0.21 and opentelemetry-jaeger ^0.20

ordered

Enables preserve_order of serde_json

serde_json:

Make serde_json::Map use a representation which maintains insertion order.
This allows data to be read into a Value and written back to a JSON string while preserving the order of map keys in the input.

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.

sqlx psql?