[package]
name = "libdeflater"
version = "1.22.0"
authors = ["Adam Kewley <contact@adamkewley.com>"]
edition = "2018"
license = "Apache-2.0"
readme = "README.md"
keywords = ["gzip", "zlib", "deflate", "encoding"]
categories = ["compression", "api-bindings"]
repository = "https://github.com/adamkewley/libdeflater"
homepage = "https://github.com/adamkewley/libdeflater"
description = """
Bindings to libdeflate for DEFLATE (de)compression exposed as non-streaming buffer
operations. Contains bindings for raw deflate, zlib, and gzip data.
"""
exclude = [
".git*",
".travis.yml",
"bench_data/",
"examples/",
"scripts/",
]
[dependencies]
libdeflate-sys = { version = "1.22.0", path = "libdeflate-sys" }
[dev-dependencies]
criterion = "0.3"
flate2 = "1.0.11"
adler32 = "1.2.0"
[[bench]]
name = "benchmarks"
harness = false
[features]
use_rust_alloc = []
freestanding = ["libdeflate-sys/freestanding", "use_rust_alloc"]
dynamic = ["libdeflate-sys/dynamic"]
[workspace]