zeromq 0.6.0

A native Rust implementation of ZeroMQ
Documentation
# 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"
rust-version = "1.85.0"
name = "zeromq"
version = "0.6.0"
authors = [
    "Alexei Kornienko <alexei.kornienko@gmail.com>",
    "Ryan Butler <thebutlah@gmail.com>",
    "Kyle Kelley <rgbkrk@gmail.com>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A native Rust implementation of ZeroMQ"
readme = "README.md"
license = "MIT"
repository = "https://github.com/zeromq/zmq.rs"

[features]
all-transport = [
    "ipc-transport",
    "tcp-transport",
]
async-dispatcher-macros = ["async-dispatcher/macros"]
async-dispatcher-runtime = [
    "async-std",
    "async-dispatcher",
]
async-std-runtime = ["async-std"]
default = [
    "tokio-runtime",
    "all-transport",
]
ipc-transport = ["dep:win_uds"]
tcp-transport = []
tokio-runtime = [
    "tokio",
    "tokio-util",
]

[lib]
name = "zeromq"
path = "src/lib.rs"
bench = false

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[[bench]]
name = "bench_runtime"
path = "benches/bench_runtime.rs"

[[bench]]
name = "codec"
path = "benches/codec.rs"
harness = false

[[bench]]
name = "compare_libzmq"
path = "benches/compare_libzmq.rs"
harness = false

[[bench]]
name = "throughput"
path = "benches/throughput.rs"
harness = false

[dependencies.async-dispatcher]
version = "0.1"
optional = true

[dependencies.async-std]
version = "1"
features = ["attributes"]
optional = true

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

[dependencies.asynchronous-codec]
version = "0.7"

[dependencies.bytes]
version = "1"

[dependencies.crossbeam-queue]
version = "0.3"

[dependencies.futures]
version = "0.3"

[dependencies.log]
version = "0.4"

[dependencies.num-traits]
version = "0.2"

[dependencies.once_cell]
version = "1"

[dependencies.parking_lot]
version = "0.12"

[dependencies.rand]
version = "0.9"

[dependencies.regex]
version = "1"
features = [
    "std",
    "unicode-perl",
]
default-features = false

[dependencies.scc]
version = "3.4.4"

[dependencies.thiserror]
version = "1"

[dependencies.tokio]
version = "1"
features = ["full"]
optional = true

[dependencies.tokio-util]
version = "0.7"
features = ["compat"]
optional = true

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

[dev-dependencies.async-dispatcher]
version = "0.1"
features = ["macros"]

[dev-dependencies.chrono]
version = "0.4"

[dev-dependencies.criterion]
version = "0.5"

[dev-dependencies.hex]
version = "0.4"

[dev-dependencies.pretty_env_logger]
version = "0.5"

[dev-dependencies.zmq2]
version = "0.5"

[target."cfg(windows)".dependencies.win_uds]
version = "=0.2.2"
features = ["async"]
optional = true