# 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 = "2024"
rust-version = "1.88"
name = "runique"
version = "2.1.9"
authors = ["Itsuki"]
build = false
exclude = [
    "tests/*",
    "**/*.db",
    "**/*.sqlite",
    "**/target/*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Django-inspired web framework for Rust with ORM, templates, and comprehensive security middleware"
homepage = "https://runique.io/"
documentation = "https://runique.io/docs/en"
readme = "readme.md"
keywords = [
    "web",
    "framework",
    "django",
    "sea-orm",
    "runique",
]
categories = ["web-programming::http-server"]
license = "MIT"
repository = "https://github.com/seb-alliot/runique"
resolver = "2"

[package.metadata.docs.rs]
default-target = "x86_64-unknown-linux-gnu"
features = ["all-databases"]

[features]
acme = [
    "dep:instant-acme",
    "dep:axum-server",
    "dep:rustls",
]
all-databases = [
    "sqlite",
    "postgres",
    "mysql",
]
big-pk = ["derive_form/big-pk"]
default = [
    "orm",
    "all-databases",
]
mariadb = ["mysql"]
mysql = [
    "orm",
    "sea-orm/sqlx-mysql",
    "sea-orm/runtime-tokio-rustls",
]
orm = [
    "dep:sea-orm",
    "dep:sea-orm-migration",
]
postgres = [
    "orm",
    "sea-orm/sqlx-postgres",
    "sea-orm/runtime-tokio-rustls",
]
sqlite = [
    "orm",
    "sea-orm/sqlx-sqlite",
    "sea-orm/runtime-tokio-rustls",
]

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

[[bin]]
name = "runique"
path = "src/bin/runique.rs"

[dependencies.ammonia]
version = "4.1.2"

[dependencies.anyhow]
version = "1.0"

[dependencies.argon2]
version = "0.5"

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

[dependencies.axum]
version = "0.8.7"
features = [
    "macros",
    "form",
    "multipart",
]

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

[dependencies.base64]
version = "0.22.1"

[dependencies.bcrypt]
version = "0.19.0"

[dependencies.byte]
version = "0.2.7"

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

[dependencies.clap]
version = "4.5.55"
features = ["derive"]

[dependencies.country]
version = "0.5.0"

[dependencies.crossterm]
version = "0.29.0"

[dependencies.derive_form]
version = "2.1.7"

[dependencies.dialoguer]
version = "0.12"

[dependencies.dotenvy]
version = "0.15"

[dependencies.dyn-clone]
version = "1.0.20"

[dependencies.fancy-regex]
version = "0.18.0"

[dependencies.form_urlencoded]
version = "1"

[dependencies.futures-util]
version = "0.3.31"

[dependencies.glob]
version = "0.3"

[dependencies.hex]
version = "0.4"

[dependencies.hmac]
version = "0.13"

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

[dependencies.image]
version = "0.25.10"
features = ["avif"]

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

[dependencies.instant-acme]
version = "0.8.5"
features = ["rcgen"]
optional = true

[dependencies.lettre]
version = "0.11.19"
features = [
    "tokio1",
    "tokio1-native-tls",
    "builder",
]

[dependencies.notify]
version = "8.2.0"

[dependencies.password-hash]
version = "0.6.0"

[dependencies.phone_number]
version = "0.1.1"

[dependencies.postal-code]
version = "0.3.0"

[dependencies.proc-macro2]
version = "1"

[dependencies.pulldown-cmark]
version = "0.13.3"

[dependencies.quote]
version = "1"

[dependencies.rand]
version = "0.10.0"

[dependencies.regex]
version = "1.12.2"

[dependencies.rpassword]
version = "7.4.0"

[dependencies.rust_decimal]
version = "1"
features = ["serde-float"]

[dependencies.rustls]
version = "0.23"
features = ["ring"]
optional = true

[dependencies.scrypt]
version = "0.11.0"

[dependencies.sea-orm]
version = "=2.0.0-rc.38"
optional = true

[dependencies.sea-orm-migration]
version = "=2.0.0-rc.38"
optional = true

[dependencies.sea-query]
version = "1.0.0-rc.27"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.serde_urlencoded]
version = "0.7"

[dependencies.sha2]
version = "0.11"

[dependencies.subtle]
version = "2"

[dependencies.syn]
version = "2"
features = [
    "full",
    "visit",
]

[dependencies.tera]
version = "1.20.1"
features = ["builtins"]

[dependencies.thiserror]
version = "2.0.18"

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

[dependencies.tower]
version = "0.5.3"
features = ["util"]

[dependencies.tower-http]
version = "0.6.8"
features = [
    "fs",
    "util",
    "trace",
    "timeout",
    "compression-full",
    "set-header",
    "cors",
]

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

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-futures]
version = "0.2.5"

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

[dependencies.urlencoding]
version = "2.1.3"

[dependencies.uuid]
version = "1.19.0"
features = ["v4"]

[dependencies.validator]
version = "0.20"
features = ["derive"]

[dependencies.walkdir]
version = "2.5.0"

[dev-dependencies.reqwest]
version = "0.13.2"
features = [
    "json",
    "rustls",
    "cookies",
]

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

[dev-dependencies.tracing-test]
version = "0.2"
