# 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"
rust-version = "1.88"
name = "ntex-amqp"
version = "5.7.2"
authors = ["ntex contributors <team@ntex.rs>"]
build = false
exclude = [
    ".gitignore",
    ".travis.yml",
    ".cargo/config",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "AMQP 1.0 Client/Server framework"
documentation = "https://docs.rs/ntex-amqp"
readme = "README.md"
keywords = [
    "AMQP",
    "IoT",
    "messaging",
]
categories = ["network-programming"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ntex-rs/ntex-amqp.git"

[features]
default = []
frame-trace = []

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

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

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

[[test]]
name = "test_server"
path = "tests/test_server.rs"

[dependencies.bitflags]
version = "2"

[dependencies.derive_more]
version = "2"
features = ["from"]

[dependencies.log]
version = "0.4"

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

[dependencies.ntex-bytes]
version = "1.5"

[dependencies.ntex-dispatcher]
version = "3"

[dependencies.ntex-error]
version = "2.0"

[dependencies.ntex-io]
version = "3.9"

[dependencies.ntex-net]
version = "3.9"

[dependencies.ntex-router]
version = "1"

[dependencies.ntex-rt]
version = "3.10"

[dependencies.ntex-service]
version = "4.6"

[dependencies.ntex-util]
version = "3.4"

[dependencies.pin-project-lite]
version = "0.2"

[dependencies.slab]
version = "0.4"

[dependencies.thiserror]
version = "2"

[dependencies.uuid]
version = "1"
features = ["v4"]

[dev-dependencies.env_logger]
version = "0.11"

[dev-dependencies.ntex]
version = "3.6"

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

[lints.rust]
rust_2018_idioms = "deny"
unreachable_pub = "deny"
warnings = "deny"

[lints.rust.async_fn_in_trait]
level = "allow"
priority = -1
