kellnr-http 7.2.0

Kellnr is a self-hosted registry for Rust crates with support for rustdocs and crates.io caching.
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"
name = "kellnr-http"
version = "7.2.0"
authors = ["kellnr.io"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Kellnr is a self-hosted registry for Rust crates with support for rustdocs and crates.io caching."
homepage = "https://kellnr.io/"
documentation = "https://kellnr.io/documentation"
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/kellnr/kellnr"

[features]
test-support = [
    "dep:kellnr-test-db",
    "kellnr-db/mock",
    "kellnr-db/test-support",
    "kellnr-settings/test-support",
]

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

[dependencies.axum]
version = "0.8.9"
features = [
    "macros",
    "http2",
]

[dependencies.axum-extra]
version = "0.12.6"
features = [
    "cookie",
    "cookie-private",
    "typed-header",
]

[dependencies.base64]
version = "0.23.0"

[dependencies.cookie]
version = "0.18.1"
features = [
    "private",
    "percent-encode",
]

[dependencies.flume]
version = "0.12.0"

[dependencies.kellnr-common]
version = "7.2.0"

[dependencies.kellnr-cratesio-sync]
version = "7.2.0"

[dependencies.kellnr-db]
version = "7.2.0"

[dependencies.kellnr-filter]
version = "7.2.0"

[dependencies.kellnr-settings]
version = "7.2.0"

[dependencies.kellnr-storage]
version = "7.2.0"

[dependencies.kellnr-test-db]
version = "7.2.0"
optional = true

[dependencies.moka]
version = "0.12.15"
features = ["future"]

[dependencies.provcfg]
version = "0.2.0"
features = [
    "toml",
    "cli",
    "clap-derive",
]

[dependencies.rand]
version = "0.10.1"

[dependencies.reqwest]
version = "0.13.4"
features = [
    "json",
    "blocking",
    "gzip",
    "http2",
    "deflate",
]

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

[dependencies.tokio]
version = "1.52.3"
features = [
    "macros",
    "signal",
]

[dependencies.tracing]
version = "0.1.43"

[dependencies.utoipa]
version = "6"
features = [
    "axum_extras",
    "chrono",
]

[dependencies.zip]
version = "9.0.3"

[dev-dependencies.hyper]
version = "1.10.1"

[dev-dependencies.kellnr-db]
version = "7.2.0"
features = [
    "mock",
    "test-support",
]

[dev-dependencies.kellnr-settings]
version = "7.2.0"
features = ["test-support"]

[dev-dependencies.kellnr-test-db]
version = "7.2.0"

[dev-dependencies.mockall]
version = "0.15.0"

[dev-dependencies.sea-orm]
version = "2.0.0-rc.40"
features = [
    "sqlx-postgres",
    "sqlx-sqlite",
    "runtime-tokio-rustls",
    "macros",
]

[dev-dependencies.serde_json]
version = "1.0.150"

[dev-dependencies.tower]
version = "0.5.2"
features = [
    "util",
    "limit",
]

[lints.clippy]
assert_is_empty = "allow"
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_sign_loss = "allow"
if_not_else = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
must_use_candidate = "allow"
too_many_lines = "allow"
used_underscore_binding = "allow"

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

[lints.rust]
unreachable_pub = "warn"
unsafe_code = "forbid"
unused_qualifications = "warn"