Cargo Features

[dependencies]
commiter = { version = "5.0.0", default-features = false, features = ["git", "mercurial", "fossil", "pijul", "archive", "templates", "ai", "gui", "cli", "ask", "tui", "api", "web", "req", "dotenvy"] }
default = cli, dotenvy, git

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

git default = git2

Enables https and ssh_key_from_memory of git2

Affects commiter::git

mercurial

Affects commiter::mercurial

fossil

Affects commiter::fossil

pijul

Affects commiter::pijul

archive cli = tar

Enables flate2

templates cli web? = tera

Enables date-locale and preserve_order of tera

Affects commiter::tera

ai = ask_gemini, tokio

Enables net and rt-multi-thread of tokio

Affects commiter::ai

gui = adw, gtk

Enables glib

Affects commiter::gui

cli default = archive, ask, clap, req, semver, templates

Affects commiter::cli

ask cli = inquire, semver

Enables console, date and editor of inquire

Affects commiter::ask

tui = ratatui, ratatui-textarea

Affects commiter::tui

api = actix-web, opentelemetry, prometheus, tracing, tracing-subscriber

Enables opentelemetry ^0.26.0, env-filter and json of tracing-subscriber and openssl of actix-web

actix-web:

TLS via OpenSSL

Affects commiter::api

web = actix-web, req, templates

Enables actix-web

req cli web? = reqwest, tokio

Enables tokio, blocking, socks and stream of reqwest

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.

actix-web api? web?
adw gui?

Enables libadwaita

ask_gemini ai?
clap cli
dotenvy default
git2 git
glib gui?
gtk gui?

Enables gtk4

inquire ask?
ratatui tui?

Enables ratatui ^0.28.1

ratatui-textarea tui?
tokio ai? req?
semver ask? cli
tracing api?
tracing-subscriber api?
prometheus api?
opentelemetry api?

Enables opentelemetry ^0.26.0

tera templates?
reqwest req?
tar archive?
flate2 archive?