# 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 = "2021" rust-version = "1.65" name = "niffler" version = "2.6.0" authors = [ "Pierre Marijon ", "Luiz Irber ", ] description = "Simple and transparent support for compressed files" homepage = "https://github.com/luizirber/niffler" documentation = "https://docs.rs/niffler" readme = "README.md" license = "MIT/Apache-2.0" repository = "https://github.com/luizirber/niffler" [package.metadata.cargo-all-features] denylist = [ "bz2_tokio", "bz2_static", "lzma_tokio", "gz_zlib", "gz_zlib-ng-compat", "gz_cloudflare_zlib", "gz_rust_backend", "xz_tokio", "xz", ] skip_optional_dependencies = true [[bench]] name = "detect_format" harness = false [[bench]] name = "gzip" harness = false required-features = ["gz"] [[bench]] name = "bzip2" harness = false required-features = ["bz2"] [[bench]] name = "lzma" harness = false required-features = ["xz2"] [dependencies.bgzip] version = "0.3" features = ["rust_backend"] optional = true default-features = false [dependencies.bzip2] version = "0.4.4" optional = true [dependencies.cfg-if] version = "1.0" [dependencies.flate2] version = "1.0" optional = true [dependencies.liblzma] version = "0.3" optional = true [dependencies.thiserror] version = "1.0" [dependencies.zstd] version = "0.13" optional = true [dev-dependencies.criterion] version = "0.3" [dev-dependencies.tempfile] version = "3" [features] bgz = ["bgzip"] bz2 = ["bzip2"] bz2_static = ["bzip2/static"] bz2_tokio = ["bzip2/tokio"] default = [ "bz2", "lzma", "xz", "gz", "bgz", "zstd", ] gz = ["flate2"] gz_cloudflare_zlib = ["flate2/cloudflare_zlib"] gz_rust_backend = ["flate2/rust_backend"] gz_zlib = ["flate2/zlib"] gz_zlib-ng-compat = ["flate2/zlib-ng-compat"] lzma = ["liblzma"] lzma_tokio = ["liblzma/tokio"] xz = ["lzma"] xz_tokio = ["liblzma/tokio"]