makepad/libs/flate2/Cargo.toml
2026-02-12 15:02:01 +01:00

145 lines
2.7 KiB
TOML

# 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"
rust-version = "1.67.0"
name = "flate2"
version = "1.1.9"
authors = [
"Alex Crichton <alex@alexcrichton.com>",
"Josh Triplett <josh@joshtriplett.org>",
]
build = false
exclude = [".*"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
DEFLATE compression and decompression exposed as Read/BufRead/Write streams.
Supports miniz_oxide and multiple zlib implementations. Supports zlib, gzip,
and raw deflate streams.
"""
homepage = "https://github.com/rust-lang/flate2-rs"
documentation = "https://docs.rs/flate2"
readme = "README.md"
keywords = [
"gzip",
"deflate",
"zlib",
"zlib-ng",
"encoding",
]
categories = [
"compression",
"api-bindings",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/rust-lang/flate2-rs"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
any_c_zlib = ["any_zlib"]
any_impl = []
any_zlib = ["any_impl"]
cloudflare_zlib = [
"any_c_zlib",
"cloudflare-zlib-sys",
"dep:crc32fast",
]
default = ["rust_backend"]
miniz-sys = ["rust_backend"]
miniz_oxide = [
"any_impl",
"dep:miniz_oxide",
"dep:crc32fast",
]
rust_backend = [
"miniz_oxide",
"any_impl",
]
zlib = [
"any_c_zlib",
"libz-sys",
"dep:crc32fast",
]
zlib-default = [
"any_c_zlib",
"libz-sys/default",
"dep:crc32fast",
]
zlib-ng = [
"any_c_zlib",
"libz-ng-sys",
"dep:crc32fast",
]
zlib-ng-compat = [
"zlib",
"libz-sys/zlib-ng",
"dep:crc32fast",
]
zlib-rs = [
"any_zlib",
"dep:zlib-rs",
]
[lib]
name = "flate2"
path = "src/lib.rs"
[dependencies.cloudflare-zlib-sys]
version = "0.3.6"
optional = true
[dependencies.crc32fast]
version = "1.2.0"
path = "../crc32fast"
optional = true
[dependencies.document-features]
version = "0.2"
optional = true
[dependencies.libz-ng-sys]
version = "1.1.16"
optional = true
[dependencies.libz-sys]
version = "1.1.20"
optional = true
default-features = false
[dependencies.miniz_oxide]
version = "0.8.5"
path = "../miniz_oxide"
features = [
"with-alloc",
"simd",
]
optional = true
default-features = false
[dependencies.zlib-rs]
version = "0.6.0"
features = [
"std",
"rust-allocator",
]
optional = true
default-features = false