s4-server 0.2.0

S4 — Squished S3 — GPU-accelerated transparent compression S3-compatible storage gateway (cargo install s4-server installs the `s4` binary).
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"
rust-version = "1.92"
name = "s4-server"
version = "0.2.0"
authors = [
    "abyo software 合同会社",
    "masumi-ryugo <abyo.software@gmail.com>",
]
build = false
include = [
    "src/**/*.rs",
    "Cargo.toml",
    "LICENSE",
    "NOTICE",
    "README.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "S4 — Squished S3 — GPU-accelerated transparent compression S3-compatible storage gateway (cargo install s4-server installs the `s4` binary)."
homepage = "https://github.com/abyo-software/s4"
documentation = "https://github.com/abyo-software/s4#readme"
readme = "README.md"
keywords = [
    "s3",
    "compression",
    "gpu",
    "nvcomp",
    "zstd",
]
categories = [
    "compression",
    "network-programming",
    "web-programming",
]
license = "Apache-2.0"
repository = "https://github.com/abyo-software/s4"
resolver = "2"

[features]
default = []
nvcomp-gpu = ["s4-codec/nvcomp-gpu"]

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

[[bin]]
name = "s4"
path = "src/main.rs"

[dependencies.anyhow]
version = "1"

[dependencies.async-compression]
version = "0.4"
features = [
    "tokio",
    "zstd",
]

[dependencies.async-trait]
version = "0.1"

[dependencies.aws-config]
version = "1"
features = ["behavior-version-latest"]

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

[dependencies.aws-sdk-s3]
version = "1.124"

[dependencies.bytes]
version = "1"

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

[dependencies.crc32c]
version = "0.6"

[dependencies.futures]
version = "0.3"

[dependencies.http]
version = "1"

[dependencies.http-body-util]
version = "0.1"

[dependencies.hyper]
version = "1.8"

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

[dependencies.metrics]
version = "0.24"

[dependencies.metrics-exporter-prometheus]
version = "0.17"
default-features = false

[dependencies.opentelemetry]
version = "0.31"

[dependencies.opentelemetry-otlp]
version = "0.31"
features = [
    "trace",
    "grpc-tonic",
]
default-features = false

[dependencies.opentelemetry_sdk]
version = "0.31"
features = ["rt-tokio"]

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

[dependencies.rustls-pemfile]
version = "2"

[dependencies.s3s]
version = "0.13"

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

[dependencies.s4-codec]
version = "0.2.0"

[dependencies.s4-config]
version = "0.2.0"

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

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

[dependencies.tokio-rustls]
version = "0.26"
features = [
    "ring",
    "tls12",
]
default-features = false

[dependencies.tokio-util]
version = "0.7"
features = ["io"]

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-opentelemetry]
version = "0.32"

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "env-filter",
    "json",
]

[dev-dependencies.http]
version = "1"

[dev-dependencies.metrics-exporter-prometheus]
version = "0.17"
default-features = false

[dev-dependencies.proptest]
version = "1"

[dev-dependencies.rcgen]
version = "0.13"

[dev-dependencies.reqwest]
version = "0.12"
features = [
    "rustls-tls",
    "http2",
]
default-features = false

[dev-dependencies.tempfile]
version = "3"

[dev-dependencies.testcontainers-modules]
version = "0.14"
features = ["minio"]

[dev-dependencies.zstd]
version = "0.13"

[lints.rust]
unsafe_code = "deny"