# 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 = "kafka-protocol" version = "0.14.0" authors = [ "Diggory Blake ", "Charlotte McElwain ", "belltoy ", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Implementation of Kafka wire protocol." homepage = "https://github.com/tychedelia/kafka-protocol-rs" documentation = "https://docs.rs/kafka-protocol" readme = "README.md" keywords = ["kafka"] license = "MIT/Apache-2.0" repository = "https://github.com/tychedelia/kafka-protocol-rs" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "kafka_protocol" path = "src/lib.rs" [[test]] name = "tests" path = "tests/tests.rs" [dependencies.anyhow] version = "1.0.80" [dependencies.bytes] version = "1.0.1" [dependencies.crc] version = "3.0.0" [dependencies.crc32c] version = "0.6.4" [dependencies.flate2] version = "1.0.20" optional = true [dependencies.indexmap] version = "2.0.0" [dependencies.lz4] version = "1.24" optional = true [dependencies.paste] version = "1.0.7" [dependencies.snap] version = "1.0.5" optional = true [dependencies.uuid] version = "1.3.0" [dependencies.zstd] version = "0.13" optional = true [dev-dependencies.testcontainers] version = "0.20.1" features = [ "blocking", "watchdog", ] [features] broker = [] client = [] default = [ "client", "broker", "gzip", "zstd", "snappy", "lz4", ] gzip = ["dep:flate2"] lz4 = ["dep:lz4"] messages_enums = [] snappy = ["dep:snap"] zstd = ["dep:zstd"]