slabs-http 0.3.0

HTTP router, AppCtx, SlabDef, JobDef, ScheduleDef, background job runner, and built-in observability/dev routes for Slabs
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 = "2021"
rust-version = "1.85"
name = "slabs-http"
version = "0.3.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "HTTP router, AppCtx, SlabDef, JobDef, ScheduleDef, background job runner, and built-in observability/dev routes for Slabs"
homepage = "https://sogamoso.github.io/slabs-docs/"
readme = "README.md"
keywords = [
    "web",
    "framework",
    "axum",
    "sqlx",
    "htmx",
]
categories = ["web-programming::http-server"]
license = "MIT"
repository = "https://github.com/sogamoso/slabs"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

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

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

[dependencies.axum-extra]
version = "0.10"
features = ["cookie"]

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

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

[dependencies.hex]
version = "0.4"

[dependencies.hmac]
version = "0.12"

[dependencies.http]
version = "1"

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

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

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.slabs-assets]
version = "0.3.0"

[dependencies.slabs-auth]
version = "0.3.0"

[dependencies.slabs-cache]
version = "0.3.0"

[dependencies.slabs-core]
version = "0.3.0"

[dependencies.slabs-db]
version = "0.3.0"

[dependencies.slabs-html]
version = "0.3.0"

[dependencies.slabs-jobs]
version = "0.3.0"

[dependencies.slabs-mail]
version = "0.3.0"

[dependencies.slabs-realtime]
version = "0.3.0"

[dependencies.slabs-storage]
version = "0.3.0"

[dependencies.slabs-webhooks]
version = "0.3.0"

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

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

[dependencies.tracing]
version = "0.1"

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

[dev-dependencies.sqlx]
version = "0.8"
features = [
    "runtime-tokio",
    "tls-rustls",
    "sqlite",
    "postgres",
    "migrate",
    "chrono",
    "json",
    "macros",
]
default-features = false

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

[lints.clippy]
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
too_many_lines = "allow"

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
missing_debug_implementations = "warn"
missing_docs = "warn"
unreachable_pub = "warn"
unsafe_code = "forbid"

[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1