# 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 = "rejoice"
version = "0.9.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A simple and delightful little web framework for Rust"
readme = "README.md"
keywords = [
    "web",
    "framework",
    "routing",
    "axum",
]
categories = ["web-programming::http-server"]
license = "MIT"
repository = "https://github.com/kiahjh/rejoice"

[features]
default = []
sqlite = ["dep:sqlx"]

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

[[bin]]
name = "rejoice"
path = "src/bin/main.rs"

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

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

[dependencies.colored]
version = "2"

[dependencies.dotenvy_macro]
version = "0.15.7"

[dependencies.futures]
version = "0.3"

[dependencies.html-escape]
version = "0.2"

[dependencies.maud]
version = "0.27"
features = ["axum"]

[dependencies.notify]
version = "8.2.0"
features = ["macos_fsevent"]

[dependencies.serde_json]
version = "1"

[dependencies.sqlx]
version = "0.8"
features = [
    "runtime-tokio",
    "sqlite",
    "chrono",
    "uuid",
]
optional = true

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

[dependencies.tokio-stream]
version = "0.1"

[dependencies.tower]
version = "0.5.2"

[dependencies.tower-http]
version = "0.6.8"
features = [
    "cors",
    "fs",
]
