# 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 = "azure_core_amqp"
version = "0.6.0"
authors = ["Microsoft"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust client library for the AMQP protocol"
homepage = "https://github.com/azure/azure-sdk-for-rust/sdk/core/azure_core_amqp"
documentation = "https://docs.rs/azure_core_amqp"
readme = "README.md"
keywords = [
    "sdk",
    "azure",
    "rest",
    "iot",
    "cloud",
]
categories = ["api-bindings"]
license = "MIT"
repository = "https://github.com/azure/azure-sdk-for-rust"

[package.metadata.docs.rs]
features = ["fe2o3_amqp"]

[features]
cplusplus = []
default = ["fe2o3_amqp"]
fe2o3_amqp = [
    "dep:fe2o3-amqp",
    "fe2o3-amqp-types",
    "fe2o3-amqp-ext",
    "fe2o3-amqp-management",
    "fe2o3-amqp-cbs",
    "serde_amqp",
    "serde_bytes",
]
test = []

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

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

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

[dependencies.azure_core]
version = "0.27.0"
default-features = false

[dependencies.fe2o3-amqp]
version = "0.14"
features = [
    "native-tls",
    "tracing",
    "uuid",
]
optional = true

[dependencies.fe2o3-amqp-cbs]
version = "0.14"
optional = true

[dependencies.fe2o3-amqp-ext]
version = "0.14"
optional = true

[dependencies.fe2o3-amqp-management]
version = "0.14"
features = ["tracing"]
optional = true

[dependencies.fe2o3-amqp-types]
version = "0.14"
optional = true

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

[dependencies.serde_amqp]
version = "0.14"
features = ["uuid"]
optional = true

[dependencies.serde_bytes]
version = "0.11"
optional = true

[dependencies.tokio]
version = "1.0"
features = [
    "macros",
    "time",
]
default-features = false

[dependencies.tracing]
version = "0.1.40"

[dependencies.typespec]
version = "0.7.0"
features = ["amqp"]
default-features = false

[dependencies.typespec_macros]
version = "0.6.0"

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

[lints.clippy]
large_futures = "deny"
uninlined_format_args = "allow"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(docsrs)"]
