# 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 = "samsa"
version = "0.1.6"
description = "Rust-native Kafka/Redpanda protocol and client implementation."
homepage = "https://github.com/CallistoLabsNYC/samsa"
readme = "README.md"
keywords = [
    "kafka",
    "redpanda",
    "confluent",
]
categories = ["api-bindings"]
license-file = "LICENSE"
repository = "https://github.com/CallistoLabsNYC/samsa"

[[bench]]
name = "parser"
harness = false

[[bench]]
name = "encoder"
harness = false

[dependencies.async-stream]
version = "0.3.5"

[dependencies.async-trait]
version = "0.1.80"

[dependencies.bytes]
version = "1.5.0"

[dependencies.crc]
version = "3.0.1"

[dependencies.flate2]
version = "1.0.28"

[dependencies.futures]
version = "0.3.30"

[dependencies.nom]
version = "7.1.3"

[dependencies.nombytes]
version = "0.1.1"

[dependencies.num-derive]
version = "0.4.2"

[dependencies.num-traits]
version = "0.2.18"

[dependencies.reqwest]
version = "0.11"
features = ["json"]
optional = true

[dependencies.rustls-pemfile]
version = "2.1.2"

[dependencies.rustls-pki-types]
version = "1.4.1"

[dependencies.serde]
version = "1.0.193"
optional = true

[dependencies.serde_derive]
version = "1.0.193"
optional = true

[dependencies.serde_json]
version = "1.0.108"

[dependencies.tokio]
version = "1.36.0"
features = ["full"]

[dependencies.tokio-rustls]
version = "0.26.0"

[dependencies.tokio-stream]
version = "0.1.14"

[dependencies.tracing]
version = "0.1.37"

[dependencies.tracing-subscriber]
version = "0.3.17"

[dependencies.webpki-roots]
version = "0.26.1"

[dev-dependencies.criterion]
version = "0.3"

[dev-dependencies.random_word]
version = "0.4.3"
features = ["en"]

[features]
integration_tests = []
redpanda = [
    "reqwest",
    "serde",
    "serde_derive",
]
