# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "anvilforge-core"
version = "0.3.10"
authors = ["Anvilforge contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Anvilforge core: routing, middleware, container, request/response, error type, runtime cross-cutting concerns."
homepage = "https://github.com/anvilforge/anvilforge"
readme = "README.md"
keywords = [
    "web",
    "framework",
    "laravel",
    "axum",
    "anvilforge",
]
categories = [
    "web-programming",
    "web-programming::http-server",
]
license = "MIT"
repository = "https://github.com/anvilforge/anvilforge"

[features]
default = []
embed-assets = ["dep:rust-embed"]

[lib]
name = "anvil_core"
path = "src/lib.rs"

[[test]]
name = "embedded_assets"
path = "tests/embedded_assets.rs"

[[test]]
name = "embedded_assets_route"
path = "tests/embedded_assets_route.rs"

[[test]]
name = "facade_resolves_in_request"
path = "tests/facade_resolves_in_request.rs"

[dependencies.anvilforge-cast-core]
version = "0.3.10"

[dependencies.anvilforge-templates]
version = "0.3.10"

[dependencies.anyhow]
version = "1.0"

[dependencies.argon2]
version = "0.5"

[dependencies.askama]
version = "0.12"

[dependencies.async-trait]
version = "0.1"

[dependencies.axum]
version = "0.7"
features = [
    "macros",
    "ws",
    "multipart",
]

[dependencies.axum-server]
version = "0.7"
features = ["tls-rustls"]

[dependencies.base64]
version = "0.22"

[dependencies.bytes]
version = "1.7"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.cron]
version = "0.12"

[dependencies.dotenvy]
version = "0.15"

[dependencies.futures]
version = "0.3"

[dependencies.garde]
version = "0.20"
features = ["full"]

[dependencies.hmac]
version = "0.12"

[dependencies.http]
version = "1.1"

[dependencies.hyper]
version = "1.4"

[dependencies.indexmap]
version = "2.6"
features = ["serde"]

[dependencies.inventory]
version = "0.3"

[dependencies.ipnet]
version = "2.9"
features = ["serde"]

[dependencies.lettre]
version = "0.11"
features = [
    "tokio1-rustls-tls",
    "smtp-transport",
    "builder",
    "hostname",
]
default-features = false

[dependencies.mime]
version = "0.3"

[dependencies.mime_guess]
version = "2.0"

[dependencies.moka]
version = "0.12"
features = [
    "future",
    "sync",
]

[dependencies.notify]
version = "6.1"

[dependencies.object_store]
version = "0.11"
features = [
    "aws",
    "gcp",
]

[dependencies.once_cell]
version = "1.20"

[dependencies.parking_lot]
version = "0.12"

[dependencies.pin-project-lite]
version = "0.2"

[dependencies.rand]
version = "0.8"

[dependencies.redis]
version = "0.27"
features = [
    "tokio-comp",
    "connection-manager",
]

[dependencies.regex]
version = "1.11"

[dependencies.reqwest]
version = "0.12"
features = [
    "rustls-tls",
    "stream",
    "gzip",
]
default-features = false

[dependencies.rust-embed]
version = "8.5"
features = ["interpolate-folder-path"]
optional = true
default-features = false

[dependencies.rustls]
version = "0.23"

[dependencies.rustls-pemfile]
version = "2.1"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.serde_urlencoded]
version = "0.7"

[dependencies.sha2]
version = "0.10"

[dependencies.sqlx]
version = "0.8"
features = [
    "runtime-tokio-rustls",
    "postgres",
    "mysql",
    "sqlite",
    "macros",
    "chrono",
    "uuid",
    "json",
    "any",
]

[dependencies.thiserror]
version = "1.0"

[dependencies.tokio]
version = "1.40"
features = ["full"]

[dependencies.tokio-util]
version = "0.7"
features = ["rt"]

[dependencies.toml]
version = "0.8"

[dependencies.totp-rs]
version = "5"
features = [
    "otpauth",
    "gen_secret",
]
default-features = false

[dependencies.tower]
version = "0.5"
features = [
    "util",
    "timeout",
]

[dependencies.tower-http]
version = "0.5"
features = [
    "trace",
    "cors",
    "compression-gzip",
    "compression-br",
    "fs",
    "limit",
    "timeout",
    "set-header",
]

[dependencies.tower-sessions]
version = "0.13"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "env-filter",
    "json",
    "fmt",
]

[dependencies.typetag]
version = "0.2"

[dependencies.url]
version = "2.5"

[dependencies.uuid]
version = "1.10"
features = [
    "v4",
    "v7",
    "serde",
]

[dev-dependencies.http-body-util]
version = "0.1"

[dev-dependencies.tempfile]
version = "3"
