# 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 = "bandurria"
version = "1.3.2"
authors = ["Valerian Saliou <valerian@valeriansaliou.name>"]
build = false
exclude = ["dev/*"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Self-hosted lightweight comment system for static websites and blogs."
homepage = "https://github.com/valeriansaliou/bandurria"
readme = "README.md"
keywords = [
    "comment",
    "websites",
    "blogs",
]
categories = ["web-programming"]
license = "MPL-2.0"
repository = "https://github.com/valeriansaliou/bandurria.git"

[[bin]]
name = "bandurria"
path = "src/main.rs"
doc = false

[dependencies.base64-url]
version = "3.0"

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

[dependencies.clap]
version = "4.5"
features = [
    "std",
    "cargo",
]

[dependencies.envsubst]
version = "0.2"

[dependencies.hex]
version = "0.4"

[dependencies.hmac]
version = "0.12"

[dependencies.lazy_static]
version = "1.5"

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

[dependencies.linkify]
version = "0.10"

[dependencies.log]
version = "0.4"

[dependencies.regex]
version = "1.11"
default-features = false

[dependencies.reqwest]
version = "0.13"
features = ["rustls"]
default-features = false

[dependencies.rocket]
version = "0.5"
features = ["json"]
default-features = false

[dependencies.rocket_db_pools]
version = "0.2"
features = ["sqlx_mysql"]

[dependencies.rocket_dyn_templates]
version = "0.2"
features = ["handlebars"]

[dependencies.serde]
version = "1.0"
default-features = false

[dependencies.serde_derive]
version = "1.0"

[dependencies.sha2]
version = "0.10"

[dependencies.toml]
version = "0.9"

[dependencies.uuid]
version = "1.12"
features = [
    "v4",
    "fast-rng",
]

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

[profile.dev]
opt-level = 0
debug = 2
debug-assertions = true

[profile.release]
opt-level = "s"
lto = true
debug = 0
debug-assertions = false
panic = "abort"
strip = true
