# 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" name = "compu" version = "1.2.0" authors = ["Douman "] build = false include = [ "**/*.rs", "Cargo.toml", "README.md", "LICENSE", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Rust Compression library with generic interface" documentation = "https://docs.rs/crate/compu" readme = "README.md" keywords = [ "brotli", "zstd", "zlib", ] categories = ["compression"] license = "BSL-1.0" repository = "https://github.com/DoumanAsh/compu" [package.metadata.docs.rs] features = [ "zstd", "brotli-c", "brotli-rust", "zlib", "zlib-ng", ] [lib] name = "compu" path = "src/lib.rs" [[test]] name = "decoder" path = "tests/decoder.rs" [[test]] name = "encoder" path = "tests/encoder.rs" [dependencies.brotli] version = "3.5" optional = true default-features = false [dependencies.bytes] version = "1" optional = true default-features = false [dependencies.compu-brotli-sys] version = "1.1.0" optional = true default-features = false [dependencies.libz-ng-sys] version = "1.1.9" optional = true default-features = false [dependencies.libz-sys] version = "1.1.9" optional = true default-features = false [dependencies.zstd-sys] version = "2.0.8" features = ["experimental"] optional = true default-features = false [features] brotli-c = ["compu-brotli-sys"] brotli-rust = ["brotli"] default = [] zlib = ["libz-sys"] zlib-ng = ["libz-ng-sys"] zlib-static = ["libz-sys/static"] zstd = ["zstd-sys"]