[package]
name = "ntex-amqp"
version = "5.7.2"
authors = ["ntex contributors <team@ntex.rs>"]
description = "AMQP 1.0 Client/Server framework"
documentation = "https://docs.rs/ntex-amqp"
repository = "https://github.com/ntex-rs/ntex-amqp.git"
categories = ["network-programming"]
keywords = ["AMQP", "IoT", "messaging"]
license = "MIT OR Apache-2.0"
exclude = [".gitignore", ".travis.yml", ".cargo/config"]
edition = "2024"
rust-version = "1.88"

[workspace]
members = [
  ".",
  "codec",
]

[workspace.lints.rust]
async_fn_in_trait =  { level = "allow", priority = -1 }
rust_2018_idioms = "deny"
warnings = "deny"
unreachable_pub = "deny"

[lints]
workspace = true

[features]
default = []

# log frames on trace level
frame-trace = []

[dependencies]
ntex-amqp-codec = "2.0.0"

ntex-bytes = "1.5"
ntex-dispatcher = "3"
ntex-error = "2.0"
ntex-router = "1"
ntex-rt = "3.10"
ntex-io = "3.9"
ntex-net = "3.9"
ntex-util = "3.4"
ntex-service = "4.6"

bitflags = "2"
log = "0.4"
pin-project-lite = "0.2"
slab = "0.4"
uuid = { version = "1", features = ["v4"] }
derive_more = { version = "2", features = ["from"] }
thiserror = "2"

[dev-dependencies]
env_logger = "0.11"
rand = "0.9"
ntex-amqp = { path = ".", features = ["frame-trace"] }
ntex = "3.6"

[patch.crates-io]
ntex-amqp = { path = "." }
ntex-amqp-codec = { path = "codec" }
