# 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 = "2024"
name = "iridium-stomp"
version = "0.1.0"
authors = ["Brad Siegfreid <bsiegfreid@me.com>"]
build = false
include = [
    "src/**",
    "examples/**",
    "docs/**",
    "Cargo.toml",
    "README.md",
    "LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Async STOMP 1.2 client for Rust"
homepage = "https://github.com/bsiegfreid/iridium-stomp"
documentation = "https://docs.rs/iridium-stomp"
readme = "README.md"
keywords = [
    "stomp",
    "async",
    "messaging",
    "tokio",
    "rabbitmq",
]
categories = [
    "network-programming",
    "asynchronous",
]
license = "MIT"
repository = "https://github.com/bsiegfreid/iridium-stomp"

[package.metadata.docs.rs]
all-features = true

[features]
cli = ["clap"]
default = []

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

[[bin]]
name = "stomp"
path = "src/bin/stomp.rs"
required-features = ["cli"]

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

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

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

[dependencies.bytes]
version = "1"

[dependencies.clap]
version = "4"
features = ["derive"]
optional = true

[dependencies.futures]
version = "0.3"

[dependencies.thiserror]
version = "1"

[dependencies.tokio]
version = "1"
features = [
    "net",
    "time",
    "rt-multi-thread",
    "sync",
    "macros",
    "io-std",
    "io-util",
]

[dependencies.tokio-util]
version = "0.7"
features = ["codec"]

[dependencies.tracing]
version = "0.1"

[dev-dependencies.rand]
version = "0.8"
