# 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 = "2021"
rust-version = "1.92"
name = "s4-codec-py"
version = "1.2.0"
authors = [
    "abyo software 合同会社",
    "masumi-ryugo <abyo.software@gmail.com>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Python (pyo3) bindings for s4-codec — in-process CPU compression (zstd + gzip) for ML / ETL pipelines. GPU codecs are not exposed in Python in v1.0; route GPU workloads through the s4 server gateway."
homepage = "https://github.com/abyo-software/s4"
documentation = "https://github.com/abyo-software/s4#readme"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/abyo-software/s4"

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

[lib]
name = "s4_codec"
crate-type = ["cdylib"]
path = "src/lib.rs"

[[test]]
name = "version_matches_workspace"
path = "tests/version_matches_workspace.rs"

[dependencies.bytes]
version = "1"

[dependencies.crc32c]
version = "0.6"

[dependencies.pyo3]
version = "0.24"
features = [
    "extension-module",
    "abi3-py39",
]

[dependencies.s4-codec-rs]
version = "1"
package = "s4-codec"

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

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

[lints.clippy]
useless_conversion = "allow"

[lints.rust]
unsafe_code = "allow"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ['cfg(feature, values("gil-refs"))']
