ruststream-zeromq 0.7.0

ZeroMQ transport implementation of the RustStream broker contract, for bridging to non-Rust peers.
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 = "2024"
rust-version = "1.95"
name = "ruststream-zeromq"
version = "0.7.0"
authors = ["RustStream contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "ZeroMQ transport implementation of the RustStream broker contract, for bridging to non-Rust peers."
readme = "README.md"
keywords = [
    "zeromq",
    "zmq",
    "messaging",
    "broker",
    "ruststream",
]
categories = [
    "asynchronous",
    "network-programming",
]
license = "Apache-2.0"
repository = "https://github.com/powersemmi/ruststream-zeromq"

[package.metadata.docs.rs]
all-features = true

[features]
asyncapi = [
    "ruststream/asyncapi",
    "dep:serde",
]
default = []
testing = ["ruststream/testing"]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.aliasable]
version = "0.1.3"
features = [
    "alloc",
    "traits",
]
default-features = false

[dependencies.bytes]
version = "1.5"

[dependencies.futures]
version = "0.3.30"

[dependencies.ruststream]
version = "0.7"
default-features = false

[dependencies.selfie]
version = "0.0.3"
features = ["alloc"]
default-features = false

[dependencies.serde]
version = "1.0.196"
features = ["derive"]
optional = true

[dependencies.thiserror]
version = "2.0.3"

[dependencies.tokio]
version = "1.44"
features = [
    "rt-multi-thread",
    "macros",
    "sync",
    "time",
]

[dependencies.tracing]
version = "0.1.40"

[dependencies.zeromq]
version = "0.6"
features = [
    "tokio-runtime",
    "all-transport",
]
default-features = false

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

[dev-dependencies.ruststream]
version = "0.7"
features = [
    "asyncapi",
    "conformance",
    "testing",
    "macros",
    "json",
]
default-features = false

[dev-dependencies.serde]
version = "1.0.196"
features = ["derive"]

[dev-dependencies.serde_json]
version = "1.0.113"

[dev-dependencies.tokio]
version = "1.44"
features = [
    "rt-multi-thread",
    "macros",
    "sync",
    "time",
    "rt-multi-thread",
    "macros",
    "sync",
    "time",
]

[dev-dependencies.trybuild]
version = "1.0.121"

[lints.clippy]
missing_const_for_fn = "allow"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
redundant_pub_crate = "allow"

[lints.clippy.cargo]
level = "warn"
priority = -1

[lints.clippy.correctness]
level = "deny"
priority = -1

[lints.clippy.nursery]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.clippy.perf]
level = "deny"
priority = -1

[lints.clippy.suspicious]
level = "deny"
priority = -1

[lints.rust]
missing_debug_implementations = "warn"
missing_docs = "deny"
unreachable_pub = "deny"
unsafe_op_in_unsafe_fn = "deny"
unused_qualifications = "warn"