Cargo Features

[dependencies]
traefikctl = { version = "0.3.1", default-features = false, features = ["full", "cli", "gen", "tracing", "etcd", "api", "codegen", "deadpool", "tempdir"] }
default full? = api, cli, codegen, etcd, tracing

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

full = api, codegen, default, etcd, tracing
cli default

Enables clap and color-eyre

Affects traefikctl::cli

gen
tracing default full?

Enables chrono, env_logger, time, tracing, tracing-appender, and tracing-subscriber

Affects traefikctl::tracing

etcd default full?

Enables etcd-client

Affects traefik_config::TraefikConfig.etcd, core::etcd_trait, features::etcd

api default full?

Enables argon2, axum, chrono, colored, convert_case, env_logger, hmac, jwt, once_cell, reqwest, schemars, sha2, sqlx, tempfile, tower, tower-http, tower-sessions, url, utoipa, utoipa-swagger-ui, uuid, wait-timeout, and walkdir

Affects features::api

codegen default full? = export-type

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.

deadpool implicit feature

Enables deadpool

deadpool:

Dead simple async pool

tempdir implicit feature

Enables tempdir

tempdir:

A library for managing a temporary directory and deleting all contents when it's dropped

export-type codegen