miku-server-timing 0.2.1

An axum layer to inject the Server-Timing HTTP header into the response.
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.75"
name = "miku-server-timing"
version = "0.2.1"
authors = [
    "Hantong Chen <cxwdyx620@gmail.com>",
    "Jens Walter <jens@apimeister.com>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "An axum layer to inject the Server-Timing HTTP header into the response."
readme = "README.md"
keywords = [
    "axum-server",
    "http-header",
    "web-server",
]
categories = [
    "asynchronous",
    "network-programming",
    "web-programming::http-server",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/cxw620/miku-server-timing"

[features]
default = ["feat-tracing"]
feat-tracing = ["dep:tracing"]

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

[dependencies.http]
version = "1.0.0"

[dependencies.macro-toolset]
version = "0.8.0"
features = [
    "feat-string",
    "feat-string-ext-http",
    "feat-string-ext-ryu",
]
default-features = false

[dependencies.pin-project-lite]
version = "0.2.16"

[dependencies.tower-layer]
version = "0.3"

[dependencies.tower-service]
version = "0.3"

[dependencies.tracing]
version = "0.1"
optional = true

[dev-dependencies.axum]
version = "0.8"

[dev-dependencies.minreq]
version = "2.13"

[dev-dependencies.tokio]
version = "1.43"

[lints.clippy]
allow_attributes_without_reason = "warn"
assertions_on_result_states = "warn"
assigning_clones = "warn"
bool_to_int_with_if = "warn"
cognitive_complexity = "warn"
create_dir = "warn"
dbg_macro = "warn"
debug_assert_with_mut_call = "warn"
default_trait_access = "warn"
disallowed_script_idents = "deny"
doc_link_with_quotes = "warn"
doc_markdown = "warn"
else_if_without_else = "deny"
enum_glob_use = "warn"
filetype_is_file = "warn"
inefficient_to_string = "warn"
mem_forget = "warn"
missing_panics_doc = "warn"
mod_module_files = "deny"
multiple_inherent_impl = "warn"
mutex_atomic = "warn"
mutex_integer = "warn"
needless_continue = "warn"
panic = "warn"
significant_drop_in_scrutinee = "warn"
todo = "warn"
unimplemented = "warn"
unreachable = "warn"
wildcard_dependencies = "deny"
wildcard_imports = "warn"

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