static-serve 0.5.0

A helper for compressing and embedding static assets in an Axum webserver
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.88"
name = "static-serve"
version = "0.5.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A helper for compressing and embedding static assets in an Axum webserver"
readme = "README.md"
keywords = [
    "static",
    "axum",
    "embed",
    "web",
    "conditional",
]
categories = [
    "web-programming",
    "web-programming::http-server",
    "filesystem",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/M4SS-Code/static-serve"
resolver = "2"

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

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

[dependencies.axum]
version = "0.8"
default-features = false

[dependencies.bytes]
version = "1.10"

[dependencies.range-requests]
version = "0.1.2"
features = ["axum"]

[dependencies.static-serve-macro]
version = "=0.5.0"

[dev-dependencies.flate2]
version = "1.1"

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

[dev-dependencies.tokio]
version = "1.44"
features = [
    "rt",
    "macros",
]

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

[dev-dependencies.zstd]
version = "0.13"

[lints.clippy]
await_holding_refcell_ref = "deny"
clone_on_ref_ptr = "warn"
map_unwrap_or = "warn"
module_name_repetitions = "allow"
needless_lifetimes = "warn"
needless_raw_string_hashes = "warn"
redundant_closure_for_method_calls = "warn"
semicolon_if_nothing_returned = "warn"
str_to_string = "warn"

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

[lints.rust]
missing_docs = "warn"
unreachable_pub = "deny"
unsafe_code = "deny"