# 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 = "danube-client"
version = "0.11.0"
authors = ["Dan Rusei <dan.rusei@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The async client for Danube Messaging Broker platform"
documentation = "https://docs.rs/danube-client"
readme = "README.md"
keywords = [
    "danube",
    "pub-sub",
    "messaging_system",
    "message_broker",
    "event_streaming",
]
license = "Apache-2.0"
repository = "https://github.com/danube-messaging/danube"

[lib]
name = "danube_client"
path = "src/lib.rs"

[[example]]
name = "avro_consumer"
path = "examples/avro_consumer.rs"

[[example]]
name = "avro_producer"
path = "examples/avro_producer.rs"

[[example]]
name = "json_consumer"
path = "examples/json_consumer.rs"

[[example]]
name = "json_consumer_validated"
path = "examples/json_consumer_validated.rs"

[[example]]
name = "json_producer"
path = "examples/json_producer.rs"

[[example]]
name = "partitions_consumer"
path = "examples/partitions_consumer.rs"

[[example]]
name = "partitions_producer"
path = "examples/partitions_producer.rs"

[[example]]
name = "reliable_dispatch_consumer"
path = "examples/reliable_dispatch_consumer.rs"

[[example]]
name = "reliable_dispatch_producer"
path = "examples/reliable_dispatch_producer.rs"

[[example]]
name = "schema_evolution"
path = "examples/schema_evolution.rs"

[[example]]
name = "simple_producer_consumer"
path = "examples/simple_producer_consumer.rs"

[dependencies.base64]
version = "0.22.1"

[dependencies.danube-core]
version = "0.11.0"

[dependencies.futures]
version = "0.3.31"

[dependencies.prost]
version = "0.14.1"

[dependencies.rand]
version = "0.9.2"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "2.0"

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

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

[dependencies.tonic]
version = "0.14.2"
features = ["tls-ring"]

[dependencies.tonic-types]
version = "0.14.2"

[dependencies.tracing]
version = "0.1.44"

[dev-dependencies.anyhow]
version = "1.0"

[dev-dependencies.jsonschema]
version = "0.37"

[dev-dependencies.rustls]
version = "0.23.34"
features = ["ring"]
default-features = false

[dev-dependencies.tracing-subscriber]
version = "0.3.20"
features = ["env-filter"]

[lints.rust]
unsafe_code = "forbid"
