rust_bus 2.0.2

bus — Lightweight CQRS Library for Rust
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"
name = "rust_bus"
version = "2.0.2"
authors = ["Bordunos Pavel <bordunos.p@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "bus — Lightweight CQRS Library for Rust"
readme = "README.md"
keywords = [
    "bus",
    "CQRS",
    "Command",
    "Query",
    "Event",
]
categories = [
    "concurrency",
    "config",
    "data-structures",
    "database",
    "web-programming",
]
license = "MIT"
repository = "https://github.com/bordunosp/bus"

[features]
cancellation-token = ["dep:tokio-util"]
default = []
json-payload = ["dep:serde_json"]
logging = ["dep:log"]
sea-orm-mysql = [
    "dep:sea-orm",
    "sea-orm/sqlx-mysql",
    "dep:uuid",
    "dep:postcard",
]
sea-orm-postgres = [
    "dep:sea-orm",
    "sea-orm/sqlx-postgres",
    "dep:uuid",
    "dep:postcard",
]

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

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

[dependencies.bus_macros]
version = "1.0.0"

[dependencies.chrono]
version = "0.4"

[dependencies.dashmap]
version = "7.0.0-rc2"

[dependencies.futures]
version = "0.3"

[dependencies.log]
version = "0.4"
optional = true

[dependencies.once_cell]
version = "1.21"

[dependencies.parking_lot]
version = "0.12"

[dependencies.postcard]
version = "1.1"
features = [
    "alloc",
    "use-std",
]
optional = true

[dependencies.sea-orm]
version = "2.0.0-rc"
features = [
    "runtime-tokio-rustls",
    "with-json",
    "with-uuid",
    "with-chrono",
]
optional = true
default-features = false

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

[dependencies.serde_json]
version = "1.0"
optional = true

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.46"
features = [
    "rt",
    "macros",
]

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

[dependencies.uuid]
version = "1.17"
features = [
    "v7",
    "zerocopy",
    "fast-rng",
    "bytemuck",
    "std",
    "atomic",
]
optional = true

[dev-dependencies.sea-orm]
version = "2.0.0-rc"
features = [
    "runtime-tokio-rustls",
    "with-json",
    "with-uuid",
    "with-chrono",
    "mock",
]
default-features = false