[package]
edition = "2024"
rust-version = "1.88.0"
name = "autumn-cli"
version = "0.7.0"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "CLI tool for the Autumn web framework"
homepage = "https://github.com/autumn-foundation/autumn"
readme = "README.md"
keywords = [
"web",
"composable",
"axum",
"htmx",
"fullstack",
]
categories = [
"web-programming",
"web-programming::http-server",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/autumn-foundation/autumn"
[features]
acme = [
"tls",
"autumn-web/acme",
]
default = [
"tls",
"postgres",
]
postgres = ["autumn-web/mail"]
sqlite = [
"autumn-web/sqlite",
"diesel_migrations/sqlite",
]
tls = ["autumn-web/tls"]
[[bin]]
name = "autumn"
path = "src/main.rs"
[[test]]
name = "cli_tests"
path = "tests/cli_tests.rs"
[[test]]
name = "flags"
path = "tests/flags.rs"
[[test]]
name = "config"
path = "tests/config.rs"
[[test]]
name = "experiments"
path = "tests/experiments.rs"
[[test]]
name = "e2e"
path = "tests/e2e.rs"
[[test]]
name = "generate"
path = "tests/generate.rs"
[[test]]
name = "deploy_e2e"
path = "tests/deploy_e2e.rs"
[dependencies.autumn-schema-core]
version = "0.7.0"
[dependencies.autumn-web]
version = "0.7.0"
features = [
"db",
"htmx",
"maud",
"storage",
"i18n",
"telemetry-otlp",
"redis",
"cache-moka",
"http-client",
"reporting",
]
default-features = false
[dependencies.base64]
version = "0.23"
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.clap]
version = "4"
features = [
"derive",
"env",
]
[dependencies.crossterm]
version = "0.29"
[dependencies.ctrlc]
version = "3.5.2"
[dependencies.diesel]
version = "2"
features = [
"sqlite",
"postgres",
]
[dependencies.diesel_migrations]
version = "2"
[dependencies.directories]
version = "6.0.0"
[dependencies.getrandom]
version = "0.4"
[dependencies.hex]
version = "0.4"
[dependencies.hmac]
version = "0.12"
[dependencies.include_dir]
version = "0.7"
[dependencies.indicatif]
version = "0.18"
[dependencies.notify]
version = "8"
[dependencies.notify-debouncer-mini]
version = "0.7"
[dependencies.percent-encoding]
version = "2.3"
[dependencies.proc-macro2]
version = "1"
features = ["span-locations"]
[dependencies.quote]
version = "1"
[dependencies.ratatui]
version = "0.30"
[dependencies.reqwest]
version = "0.13"
features = [
"blocking",
"json",
"rustls",
"multipart",
"cookies",
]
default-features = false
[dependencies.rustls]
version = "0.23"
features = [
"ring",
"logging",
"std",
"tls12",
]
default-features = false
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.sha2]
version = "0.10"
[dependencies.syn]
version = "2"
features = ["full"]
[dependencies.tempfile]
version = "3"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = ["full"]
[dependencies.tokio-postgres]
version = "0.7"
features = ["with-serde_json-1"]
[dependencies.tokio-postgres-rustls]
version = "0.13"
[dependencies.toml]
version = "1.1"
[dependencies.toml_edit]
version = "0.25"
[dependencies.url]
version = "2.5.8"
[dependencies.whoami]
version = "2"
[dev-dependencies.proptest]
version = "1.4"
[dev-dependencies.reqwest]
version = "0.13"
features = [
"blocking",
"rustls",
]
default-features = false
[dev-dependencies.temp-env]
version = "0.3.6"
features = ["async_closure"]
[dev-dependencies.testcontainers]
version = "0.27"
features = ["blocking"]
[dev-dependencies.testcontainers-modules]
version = "0.15"
features = [
"postgres",
"redis",
"minio",
]
[target."cfg(unix)".dependencies.libc]
version = "0.2"
[target."cfg(unix)".dependencies.nix]
version = "0.31.2"
features = [
"fs",
"signal",
"socket",
"user",
]
[lints.clippy]
disallowed_methods = "allow"
unused_async_trait_impl = "allow"
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "forbid"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
"cfg(fuzzing)",
"cfg(loom_models)",
]