132 lines
2.3 KiB
TOML
132 lines
2.3 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.83"
|
|
name = "compression-codecs"
|
|
version = "0.4.38"
|
|
authors = [
|
|
"Wim Looman <wim@nemo157.com>",
|
|
"Allen Bui <fairingrey@gmail.com>",
|
|
]
|
|
build = false
|
|
autolib = false
|
|
autobins = false
|
|
autoexamples = false
|
|
autotests = false
|
|
autobenches = false
|
|
description = """
|
|
Adaptors for various compression algorithms.
|
|
"""
|
|
readme = "README.md"
|
|
categories = [
|
|
"compression",
|
|
"asynchronous",
|
|
]
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "https://github.com/Nullus157/async-compression"
|
|
resolver = "2"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
|
|
[features]
|
|
all-algorithms = [
|
|
"brotli",
|
|
"bzip2",
|
|
"deflate",
|
|
"gzip",
|
|
"lz4",
|
|
"lzma",
|
|
"xz-parallel",
|
|
"xz",
|
|
"zlib",
|
|
"zstd",
|
|
"deflate64",
|
|
]
|
|
deflate = ["flate2"]
|
|
deflate64 = ["dep:deflate64"]
|
|
gzip = [
|
|
"flate2",
|
|
"memchr",
|
|
]
|
|
lz4 = ["dep:lz4"]
|
|
lzma = ["dep:liblzma"]
|
|
xz = ["lzma"]
|
|
xz-parallel = [
|
|
"xz",
|
|
"liblzma/parallel",
|
|
]
|
|
xz2 = ["xz"]
|
|
zlib = ["flate2"]
|
|
zstd = [
|
|
"libzstd",
|
|
"zstd-safe",
|
|
]
|
|
zstdmt = [
|
|
"zstd",
|
|
"zstd-safe/zstdmt",
|
|
]
|
|
|
|
[lib]
|
|
name = "compression_codecs"
|
|
path = "src/lib.rs"
|
|
|
|
[dependencies.brotli]
|
|
version = "8"
|
|
optional = true
|
|
|
|
[dependencies.bzip2]
|
|
version = "0.6.1"
|
|
optional = true
|
|
|
|
[dependencies.compression-core]
|
|
version = "0.4.32"
|
|
|
|
[dependencies.deflate64]
|
|
version = "0.1.10"
|
|
optional = true
|
|
|
|
[dependencies.flate2]
|
|
version = "1.1.4"
|
|
optional = true
|
|
|
|
[dependencies.liblzma]
|
|
version = "0.4.5"
|
|
optional = true
|
|
|
|
[dependencies.libzstd]
|
|
version = "0.13.1"
|
|
optional = true
|
|
default-features = false
|
|
package = "zstd"
|
|
|
|
[dependencies.lz4]
|
|
version = "1.28.1"
|
|
optional = true
|
|
|
|
[dependencies.memchr]
|
|
version = "2"
|
|
optional = true
|
|
|
|
[dependencies.zstd-safe]
|
|
version = "7"
|
|
optional = true
|
|
default-features = false
|
|
|
|
[lints.rust]
|
|
rust_2018_idioms = "deny"
|
|
|
|
[lints.rust.missing_debug_implementations]
|
|
level = "deny"
|
|
priority = -1
|