rust_bus 3.0.3

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 = "3.0.3"
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"
resolver = "2"

[features]
_db_any = ["dep:twox-hash"]
_db_mysql = []
_db_postgres = []
_db_sea_orm = ["dep:sea-orm"]
_db_sqlx = ["dep:sqlx"]
context = []
default = [
    "logging",
    "context",
]
logging = ["dep:log"]
sea-orm-mysql = [
    "sea-orm/sqlx-mysql",
    "_db_any",
    "_db_mysql",
    "_db_sea_orm",
]
sea-orm-postgres = [
    "sea-orm/sqlx-postgres",
    "_db_any",
    "_db_sea_orm",
    "_db_postgres",
]
sqlx-mysql = [
    "_db_any",
    "_db_sqlx",
    "_db_mysql",
    "sqlx/mysql",
]
sqlx-postgres = [
    "_db_any",
    "_db_sqlx",
    "_db_postgres",
    "sqlx/postgres",
]

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

[dependencies.chrono]
version = "0.4"

[dependencies.futures]
version = "0.3"

[dependencies.inventory]
version = "0.3"

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

[dependencies.once_cell]
version = "1.21"

[dependencies.rand]
version = "0.10"

[dependencies.rust_bus_macros]
version = "3.0.0"

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

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

[dependencies.serde_json]
version = "1.0"

[dependencies.sqlx]
version = "0.8"
features = [
    "json",
    "chrono",
    "uuid",
    "macros",
    "runtime-tokio-rustls",
]
optional = true
default-features = false

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

[dependencies.twox-hash]
version = "2.1"
features = [
    "xxhash3_64",
    "xxhash3_128",
]
optional = true

[dependencies.uuid]
version = "1.22"
features = [
    "v7",
    "zerocopy",
    "fast-rng",
    "bytemuck",
    "std",
    "atomic",
    "serde",
]

[dev-dependencies.tokio]
version = "1.50"
features = ["full"]