# 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"
name = "karbon-framework"
version = "0.2.26"
authors = ["LaRevueGeek"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Karbon — Rust full-stack web framework with batteries included"
readme = "README.md"
license-file = "LICENSE"
repository = "https://github.com/larevuegeek/karbon"
resolver = "2"

[features]
default = ["mysql"]
mysql = ["sqlx/mysql"]
postgres = ["sqlx/postgres"]
studio = []
templates = ["tera"]

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

[dependencies.anyhow]
version = "1"

[dependencies.argon2]
version = "0.5"

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

[dependencies.axum-extra]
version = "0.12.5"
features = ["typed-header"]

[dependencies.base64]
version = "0.22"

[dependencies.bcrypt]
version = "0.19.0"

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

[dependencies.dotenvy]
version = "0.15"

[dependencies.futures]
version = "0.3"

[dependencies.hyper]
version = "1.9.0"
features = ["full"]

[dependencies.hyper-util]
version = "0.1"
features = [
    "client-legacy",
    "http1",
    "tokio",
]

[dependencies.image]
version = "0.25"

[dependencies.jsonwebtoken]
version = "10.3.0"
features = ["rust_crypto"]

[dependencies.karbon-macros]
version = "0.2.5"

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

[dependencies.rand]
version = "0.10.0"

[dependencies.regex]
version = "1"

[dependencies.reqwest]
version = "0.13.2"
features = [
    "rustls",
    "json",
]
default-features = false

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.11.0"

[dependencies.slug]
version = "0.1"

[dependencies.sqlx]
version = "0.8"
features = [
    "runtime-tokio-rustls",
    "chrono",
    "uuid",
    "json",
]

[dependencies.tera]
version = "1"
optional = true

[dependencies.thiserror]
version = "2"

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

[dependencies.tower]
version = "0.5"
features = ["full"]

[dependencies.tower-http]
version = "0.6"
features = [
    "cors",
    "trace",
    "fs",
    "limit",
    "compression-full",
    "request-id",
    "util",
    "propagate-header",
    "set-header",
]

[dependencies.tracing]
version = "0.1"

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

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

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