Cargo Features
[dependencies]
avantis-utils = { version = "0.7.2", default-features = false, features = ["config", "db-sqlx", "kafka", "db-diesel", "pagination", "redis", "telemetry"] }
- default = config, db-diesel, db-sqlx, kafka, pagination, redis, telemetry
-
These default features are set whenever
avantis-utils
is added without
somewhere in the dependency tree.default-features = false - config default = anyhow, config_rs, serde, strum
-
Affects
avantis-utils::config
… - db-sqlx default = serde, sqlx, tracing
-
Affects
db::sqlx
,avantis-utils::db
… - kafka default = anyhow, async-trait, bytes, futures-lite, itertools, prost, rdkafka, serde, thiserror, tracing
-
Affects
avantis-utils::kafka
… - db-diesel default = diesel, serde, thiserror, tracing
-
Affects
db::diesel
,avantis-utils::db
… - pagination default = avantis-utils-derive
-
Affects
avantis-utils::pagination
… - redis default = anyhow, async-trait, bb8-redis, redis_cluster_async, redis_rs, serde, serde_json, thiserror, tokio, tracing
-
Affects
avantis-utils::redis
… - telemetry default = gethostname, opentelemetry, opentelemetry-otlp, serde, thiserror, tracing, tracing-bunyan-formatter, tracing-log, tracing-opentelemetry, tracing-subscriber
-
Affects
avantis-utils::telemetry
…
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.
- itertools kafka
-
Enables itertools ^0.10.3
- anyhow config kafka redis
- async-trait kafka redis
- strum config
-
Enables strum ^0.24
- thiserror db-diesel kafka redis telemetry
-
Enables thiserror ^1.0
- tokio redis
- bytes kafka
- config_rs config
-
Enables config ^0.13
- sqlx db-sqlx
-
Enables sqlx ^0.6.1
- diesel db-diesel
- rdkafka kafka
-
Enables rdkafka ^0.28.0
- futures-lite kafka
-
Enables futures-lite ^1.12.0
- prost kafka
-
Enables prost ^0.11.0
- bb8-redis redis
-
Enables bb8-redis ^0.11.0
- redis_cluster_async redis
-
Enables redis_cluster_async ^0.7.0
- redis_rs redis
-
Enables redis ^0.21.5
- serde config db-diesel db-sqlx kafka redis telemetry
- serde_json redis
- gethostname telemetry
-
Enables gethostname ^0.2.1
- opentelemetry telemetry
-
Enables opentelemetry ^0.17.0
- opentelemetry-otlp telemetry
-
Enables opentelemetry-otlp ^0.10.0
- tracing db-diesel db-sqlx kafka redis telemetry
- tracing-bunyan-formatter telemetry
- tracing-log telemetry
-
Enables tracing-log ^0.1.3
- tracing-opentelemetry telemetry
-
Enables tracing-opentelemetry ^0.17.3
- tracing-subscriber telemetry
- avantis-utils-derive pagination