[package]
edition = "2024"
name = "kellnr-settings"
version = "6.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"
[lib]
name = "kellnr_settings"
path = "src/lib.rs"
[dependencies.clap]
version = "4"
features = ["derive"]
[dependencies.clap-serde-derive]
version = "0.2"
[dependencies.config]
version = "0.15.22"
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
[dependencies.toml]
version = "1.1.2"
[dependencies.tracing]
version = "0.1.43"
[dependencies.url]
version = "2.5.8"
features = ["serde"]
[dependencies.utoipa]
version = "5"
features = [
"axum_extras",
"chrono",
]
[dev-dependencies.serde_json]
version = "1.0.149"
[lints.clippy]
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]
unsafe_code = "forbid"
unused_qualifications = "warn"