# 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" name = "fluvio-compression" version = "0.3.4" authors = ["Fluvio Contributors "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Fluvio Compression library" readme = "README.md" keywords = [ "fluvio", "compression", ] categories = ["compression"] license = "Apache-2.0" repository = "https://github.com/infinyon/fluvio" [lib] name = "fluvio_compression" path = "src/lib.rs" [dependencies.bytes] version = "1.7.2" [dependencies.flate2] version = "1.0.25" optional = true [dependencies.fluvio-types] version = "0.5.0" default-features = false [dependencies.lz4_flex] version = "0.11.1" features = [ "safe-decode", "safe-encode", "frame", ] optional = true default-features = false [dependencies.serde] version = "1.0" features = ["derive"] default-features = false [dependencies.snap] version = "1" optional = true [dependencies.thiserror] version = "1.0.30" [dependencies.zstd] version = "0.13.0" features = ["wasm"] optional = true default-features = false [features] compress = [ "gzip", "lz4", "snap", "zstd", ] default = ["compress"] gzip = ["dep:flate2"] lz4 = ["dep:lz4_flex"] snap = ["dep:snap"] zstd = ["dep:zstd"]