# 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.92.0"
name = "s3s-proxy"
version = "0.14.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "S3 Proxy"
readme = "README.md"
keywords = ["s3"]
categories = [
    "web-programming",
    "web-programming::http-server",
]
license = "Apache-2.0"
repository = "https://github.com/Nugine/s3s"

[[bin]]
name = "s3s-proxy"
path = "src/main.rs"

[dependencies.aws-config]
version = "1.8.18"
features = ["behavior-version-latest"]
default-features = false

[dependencies.aws-credential-types]
version = "1.2.14"

[dependencies.aws-sdk-s3]
version = "1.135.0"
features = [
    "default-https-client",
    "http-1x",
    "rt-tokio",
    "sigv4a",
]
default-features = false

[dependencies.clap]
version = "4.6.1"
features = ["derive"]

[dependencies.hyper-util]
version = "0.1.20"
features = [
    "server-auto",
    "server-graceful",
    "http1",
    "http2",
    "tokio",
]

[dependencies.s3s]
version = "0.14.1"

[dependencies.s3s-aws]
version = "0.14.1"

[dependencies.tokio]
version = "1.52.3"
features = ["full"]

[dependencies.tracing]
version = "0.1.44"

[dependencies.tracing-subscriber]
version = "0.3.23"
features = [
    "env-filter",
    "time",
]

[lints.clippy]
dbg_macro = "warn"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
self_named_module_files = "deny"

[lints.clippy.all]
level = "deny"
priority = -1

[lints.clippy.cargo]
level = "deny"
priority = -1

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

[lints.rust]
unsafe_code = "forbid"