rskit-messaging 0.2.0-alpha.2

Message broker abstractions, registry, middleware, and in-memory adapter
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.91"
name = "rskit-messaging"
version = "0.2.0-alpha.2"
authors = ["kbukum contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Message broker abstractions, registry, middleware, and in-memory adapter"
homepage = "https://github.com/kbukum/rskit"
documentation = "https://docs.rs/rskit-messaging"
readme = "README.md"
keywords = [
    "messaging",
    "broker",
    "producer",
    "consumer",
]
categories = ["asynchronous"]
license = "MIT"
repository = "https://github.com/kbukum/rskit"
resolver = "2"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
bridges = ["provider-bridge"]
default = []
provider-bridge = ["dep:rskit-provider"]

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

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

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

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

[dependencies.async-stream]
version = "0.3"

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

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.futures]
version = "0.3"

[dependencies.parking_lot]
version = "0.12"

[dependencies.rskit-errors]
version = "0.2.0-alpha.1"

[dependencies.rskit-provider]
version = "0.2.0-alpha.1"
optional = true

[dependencies.rskit-resilience]
version = "0.2.0-alpha.1"

[dependencies.rskit-stream]
version = "0.2.0-alpha.1"

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

[dependencies.serde_json]
version = "1"

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

[dependencies.tracing]
version = "0.1"

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

[dev-dependencies.tokio]
version = "1"
features = [
    "full",
    "test-util",
]

[lints.clippy]
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
redundant_pub_crate = "allow"
wildcard_imports = "allow"

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

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

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

[lints.rust]
dead_code = "warn"
missing_docs = "warn"
unreachable_pub = "warn"
unsafe_code = "forbid"
unused_imports = "warn"
unused_variables = "warn"