what-core 1.7.0

Core framework for What - an HTML-first web framework powered by Rust
Documentation
# 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 = "what-core"
version = "1.7.0"
authors = ["Tedigo"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core framework for What - an HTML-first web framework powered by Rust"
readme = "README.md"
keywords = [
    "web",
    "framework",
    "html",
    "server",
    "template",
]
categories = [
    "web-programming",
    "template-engine",
]
license = "MIT"
repository = "https://github.com/tedigo-net/what"
resolver = "2"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1"

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

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

[dependencies.dotenvy]
version = "0.15"

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

[dependencies.jsonwebtoken]
version = "9"

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

[dependencies.minify-html]
version = "0.15"

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

[dependencies.r2d2]
version = "0.8"

[dependencies.r2d2_sqlite]
version = "0.24"

[dependencies.rand]
version = "0.8"

[dependencies.regex]
version = "1"

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

[dependencies.rusqlite]
version = "0.31"
features = ["bundled"]

[dependencies.scraper]
version = "0.18"

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

[dependencies.serde_ignored]
version = "0.1"

[dependencies.serde_json]
version = "1"

[dependencies.serde_urlencoded]
version = "0.7"

[dependencies.thiserror]
version = "1"

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

[dependencies.toml]
version = "0.8"

[dependencies.tower]
version = "0.4"

[dependencies.tower-http]
version = "0.5"
features = [
    "fs",
    "cors",
    "set-header",
    "trace",
]

[dependencies.tracing]
version = "0.1"

[dependencies.url]
version = "2"

[dependencies.urlencoding]
version = "2"

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

[dev-dependencies.futures]
version = "0.3"

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

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

[dev-dependencies.tower]
version = "0.4"
features = ["util"]