servable 0.0.6

A tiny web stack built around htmx, Axum, and Maud.
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"
rust-version = "1.90.0"
name = "servable"
version = "0.0.6"
authors = ["rm-dr"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A tiny web stack built around htmx, Axum, and Maud."
readme = "README.md"
keywords = [
    "htmx",
    "web",
    "webui",
    "maud",
    "framework",
]
categories = [
    "web-programming",
    "web-programming::http-server",
]
license = "GPL-3.0"
repository = "https://github.com/rm-dr/servable"
resolver = "2"

[features]
default = []
"htmx-2.0.8" = []
image = [
    "dep:image",
    "dep:strum",
    "dep:thiserror",
    "dep:tokio",
]

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

[dependencies.axum]
version = "0.8"

[dependencies.chrono]
version = "0.4"

[dependencies.image]
version = "0.25"
optional = true

[dependencies.maud]
version = "0.27"

[dependencies.mime]
version = "0.3"

[dependencies.rand]
version = "0.9"

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

[dependencies.serde_urlencoded]
version = "0.7"

[dependencies.strum]
version = "0.27"
features = ["derive"]
optional = true

[dependencies.thiserror]
version = "2.0"
optional = true

[dependencies.tokio]
version = "1.48"
optional = true

[dependencies.tower]
version = "0.5"

[dependencies.tracing]
version = "0.1"

[dev-dependencies.tower-http]
version = "0.6"
features = ["compression-full"]

[lints.clippy]
allow_attributes = "deny"
cargo_common_metadata = "deny"
comparison_chain = "allow"
create_dir = "deny"
dbg_macro = "deny"
expect_used = "warn"
filetype_is_file = "deny"
identity_op = "allow"
implicit_clone = "deny"
integer_division = "allow"
large_types_passed_by_value = "deny"
lossy_float_literal = "deny"
map_err_ignore = "deny"
missing_safety_doc = "warn"
multiple_crate_versions = "deny"
mutex_atomic = "deny"
needless_raw_strings = "deny"
needless_return = "allow"
negative_feature_names = "deny"
new_without_default = "allow"
print_stderr = "deny"
print_stdout = "deny"
redundant_feature_names = "deny"
result_large_err = "allow"
str_to_string = "deny"
string_add = "deny"
tabs_in_doc_comments = "allow"
todo = "deny"
too_many_arguments = "allow"
type_complexity = "allow"
unimplemented = "deny"
uninlined_format_args = "allow"
unwrap_used = "warn"
upper_case_acronyms = "deny"
use_debug = "allow"
verbose_file_reads = "deny"
wildcard_dependencies = "deny"

[lints.rust]
absolute_paths_not_starting_with_crate = "deny"
elided_lifetimes_in_paths = "deny"
explicit_outlives_requirements = "warn"
macro_use_extern_crate = "deny"
missing_docs = "warn"
non_ascii_idents = "deny"
redundant_lifetimes = "warn"
single_use_lifetimes = "deny"
unit_bindings = "deny"
unused_crate_dependencies = "warn"
unused_import_braces = "deny"