s4-codec 0.8.3

S4 (Squished S3) — pluggable GPU/CPU compression codec layer (nvCOMP zstd / Bitcomp, CPU zstd).
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-codec"
version = "0.8.3"
authors = [
    "abyo software 合同会社",
    "masumi-ryugo <abyo.software@gmail.com>",
]
build = "build.rs"
include = [
    "src/**/*.rs",
    "src/cuda_kernels/*.cpp",
    "build.rs",
    "Cargo.toml",
    "LICENSE",
    "NOTICE",
    "README.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "S4 (Squished S3) — pluggable GPU/CPU compression codec layer (nvCOMP zstd / Bitcomp, CPU zstd)."
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 = ["dep:cudarc"]

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

[dependencies.anyhow]
version = "1"

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

[dependencies.bytes]
version = "1"

[dependencies.crc32c]
version = "0.6"

[dependencies.cudarc]
version = "0.13"
features = [
    "std",
    "driver",
    "cuda-12080",
]
optional = true
default-features = false

[dependencies.flate2]
version = "1"

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

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = ["rt"]
default-features = false

[dependencies.tracing]
version = "0.1"

[dependencies.zstd]
version = "0.13"

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

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

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

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt",
    "rt-multi-thread",
]
default-features = false

[lints.rust]
unsafe_code = "deny"