anyreader 0.3.1

A library for reading compressed and uncompressed data without knowing the format in advance.
Documentation
# 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 = "2024"
name = "anyreader"
version = "0.3.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A library for reading compressed and uncompressed data without knowing the format in advance."
readme = "README.md"
license = "MIT"
repository = "https://github.com/orf/archive-to-parquet"
resolver = "2"

[features]
bench = ["tracing/release_max_level_off"]
default = []
test-utils = [
    "dep:tar",
    "dep:zip",
    "dep:hex",
]

[lib]
name = "anyreader"
path = "src/lib.rs"

[[example]]
name = "archive"
path = "examples/archive.rs"

[[example]]
name = "compression"
path = "examples/compression.rs"

[[bench]]
name = "bench_detection"
path = "benches/bench_detection.rs"
harness = false
required-features = ["bench"]

[dependencies.bzip2]
version = "0.6.1"

[dependencies.flate2]
version = "1.1.8"
features = ["zlib-ng"]
default-features = false

[dependencies.hex]
version = "0.4.3"
optional = true

[dependencies.infer]
version = "0.19.0"

[dependencies.liblzma]
version = "0.4.5"

[dependencies.peekable]
version = "0.4.1"
features = ["smallvec"]

[dependencies.strum]
version = "0.27.2"
features = ["derive"]

[dependencies.tar]
version = "0.4.43"
optional = true

[dependencies.tracing]
version = "0.1.41"

[dependencies.zip]
version = "7.2.0"
optional = true

[dependencies.zstd]
version = "0.13.2"
features = ["arrays"]
default-features = false

[dev-dependencies.assert_matches]
version = "1.5.0"

[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]

[dev-dependencies.tar]
version = "0.4.43"

[dev-dependencies.zip]
version = "7.2.0"