# 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-mqtt"
version = "7.4.0"
authors = ["ntex contributors <team@ntex.rs>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Client and Server framework for MQTT v5 and v3.1.1 protocols"
documentation = "https://docs.rs/ntex-mqtt"
readme = "README.md"
keywords = [
    "MQTT",
    "IoT",
    "messaging",
]
categories = ["network-programming"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ntex-rs/ntex-mqtt.git"

[package.metadata.docs.rs]
features = ["ntex-net/tokio"]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.bitflags]
version = "2"

[dependencies.log]
version = "0.4"

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

[dependencies.ntex-codec]
version = "1.1"

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

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

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

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

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

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

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

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

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

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

[dev-dependencies.ntex]
version = "3.3"
features = ["openssl"]

[dev-dependencies.ntex-tls]
version = "3"

[dev-dependencies.oneshot]
version = "0.1"

[dev-dependencies.openssl]
version = "0.10"

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

[dev-dependencies.test-case]
version = "3.2"
