[package]
edition = "2024"
name = "compcol"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A no_std collection of compression algorithms behind a uniform streaming trait, gated per-algorithm by Cargo features."
readme = "README.md"
keywords = [
"compression",
"no_std",
"embedded",
]
categories = [
"compression",
"no-std",
]
license = "MIT"
repository = "https://github.com/magicaltux/compcol"
[features]
alloc = []
brotli = ["alloc"]
default = [
"alloc",
"rle",
"deflate",
"zlib",
"gzip",
"factory",
]
deflate = ["alloc"]
factory = ["alloc"]
gzip = ["deflate"]
lz4 = ["alloc"]
lzma = ["alloc"]
lzma2 = ["lzma"]
lzw = ["alloc"]
rle = []
snappy = ["alloc"]
xz = ["lzma2"]
zlib = ["deflate"]
zstd = ["alloc"]
[lib]
name = "compcol"
path = "src/lib.rs"
[[bin]]
name = "compcol"
path = "src/bin/compcol.rs"
required-features = ["factory"]
[[test]]
name = "brotli"
path = "tests/brotli.rs"
[[test]]
name = "cli"
path = "tests/cli.rs"
[[test]]
name = "cross_system"
path = "tests/cross_system.rs"
[[test]]
name = "deflate"
path = "tests/deflate.rs"
[[test]]
name = "gzip"
path = "tests/gzip.rs"
[[test]]
name = "lz4"
path = "tests/lz4.rs"
[[test]]
name = "lzma"
path = "tests/lzma.rs"
[[test]]
name = "lzma2"
path = "tests/lzma2.rs"
[[test]]
name = "lzw"
path = "tests/lzw.rs"
[[test]]
name = "rle"
path = "tests/rle.rs"
[[test]]
name = "snappy"
path = "tests/snappy.rs"
[[test]]
name = "xz"
path = "tests/xz.rs"
[[test]]
name = "zlib"
path = "tests/zlib.rs"
[[test]]
name = "zstd"
path = "tests/zstd.rs"
[lints.rust]
unsafe_code = "forbid"