[package]
edition = "2024"
rust-version = "1.88"
name = "rune-axum-redirect-https"
version = "0.1.2"
authors = ["alexile"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Redirect HTTP requests to HTTPS — Tower middleware for Axum"
readme = "README.md"
keywords = [
"axum",
"https",
"redirect",
"middleware",
"security",
]
categories = [
"web-programming",
"network-programming",
]
license = "MIT"
repository = "https://github.com/alexile/runes"
resolver = "2"
[lib]
name = "rune_axum_redirect_https"
path = "src/lib.rs"
[dependencies.http]
version = "1"
[dependencies.tower]
version = "0.5"
[dev-dependencies.axum]
version = "0.8"
[dev-dependencies.tokio]
version = "1.45.1"
features = ["full"]
[dev-dependencies.tower]
version = "0.5"
features = ["util"]
[lints.clippy]
dbg_macro = "deny"
expect_used = "deny"
missing_errors_doc = "allow"
module_name_repetitions = "allow"
panic = "deny"
print_stdout = "deny"
struct_field_names = "allow"
todo = "deny"
unimplemented = "deny"
unwrap_used = "deny"
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"
unsafe_code = "deny"