blob: e380631052f14f576e66dc60b33d2ffb7e64beb2 [file] [log] [blame]
# 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 = "2018"
name = "gzp"
version = "0.11.3"
authors = ["Seth Stadick <sstadick@gmail.com>"]
description = "Parallel Compression"
homepage = "https://github.com/sstadick/gzp"
documentation = "https://docs.rs/gzp"
readme = "README.md"
keywords = [
"compression",
"parallel",
"pigz",
]
categories = [
"compression",
"concurrency",
]
license = "Unlicense/MIT"
repository = "https://github.com/sstadick/gzp"
[lib]
name = "gzp"
path = "src/lib.rs"
bench = false
[[bench]]
name = "bench"
harness = false
[dependencies.byteorder]
version = "1.4.3"
[dependencies.bytes]
version = "1.3.0"
[dependencies.core_affinity]
version = "0.8.0"
[dependencies.flate2]
version = "1.0.25"
optional = true
default-features = false
[dependencies.flume]
version = "0.10.14"
[dependencies.libdeflater]
version = "0.12.0"
optional = true
[dependencies.libz-sys]
version = "1.1.8"
optional = true
default-features = false
[dependencies.num_cpus]
version = "1.15.0"
[dependencies.snap]
version = "1.1.0"
optional = true
[dependencies.thiserror]
version = "1.0.38"
[dev-dependencies.criterion]
version = "0.4.0"
[dev-dependencies.proptest]
version = "1.0.0"
[dev-dependencies.tempfile]
version = "3.3.0"
[features]
any_zlib = ["flate2/any_zlib"]
default = [
"deflate_default",
"libdeflate",
]
deflate = []
deflate_default = ["deflate_zlib_ng"]
deflate_rust = [
"deflate",
"flate2/rust_backend",
]
deflate_zlib = [
"deflate",
"flate2/zlib",
"any_zlib",
"libz-sys",
"libz-sys/libc",
]
deflate_zlib_ng = [
"deflate",
"flate2/zlib-ng-compat",
"any_zlib",
"libz-sys",
]
libdeflate = ["libdeflater"]
snappy = []
snappy_default = [
"snappy",
"snap",
"deflate_rust",
]