[package]
edition = "2021"
rust-version = "1.78"
name = "atomr-patterns"
version = "0.9.2"
authors = ["atomr contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "DDD/CQRS pattern library for atomr — aggregates, readers, projections, sagas, outbox, ACL."
homepage = "https://github.com/rustakka/atomr"
documentation = "https://docs.rs/atomr-patterns"
readme = "README.md"
keywords = [
"actor",
"cqrs",
"ddd",
"event-sourcing",
"saga",
]
categories = [
"concurrency",
"database",
]
license = "Apache-2.0"
repository = "https://github.com/rustakka/atomr"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
bus-cluster = ["dep:atomr-cluster-tools"]
default = []
[lib]
name = "atomr_patterns"
path = "src/lib.rs"
[[test]]
name = "acl_translate"
path = "tests/acl_translate.rs"
[[test]]
name = "cluster_distribution"
path = "tests/cluster_distribution.rs"
[[test]]
name = "cqrs_counter"
path = "tests/cqrs_counter.rs"
[[test]]
name = "cqrs_sharded"
path = "tests/cqrs_sharded.rs"
[[test]]
name = "cqrs_snapshot_recovery"
path = "tests/cqrs_snapshot_recovery.rs"
[[test]]
name = "cqrs_with_extensions"
path = "tests/cqrs_with_extensions.rs"
[[test]]
name = "dedupe"
path = "tests/dedupe.rs"
[[test]]
name = "event_upcasting"
path = "tests/event_upcasting.rs"
[[test]]
name = "inbox"
path = "tests/inbox.rs"
[[test]]
name = "optimistic_concurrency"
path = "tests/optimistic_concurrency.rs"
[[test]]
name = "outbox_durable_offsets"
path = "tests/outbox_durable_offsets.rs"
[[test]]
name = "outbox_publish"
path = "tests/outbox_publish.rs"
[[test]]
name = "process_manager"
path = "tests/process_manager.rs"
[[test]]
name = "projection_rebuild"
path = "tests/projection_rebuild.rs"
[[test]]
name = "reactor"
path = "tests/reactor.rs"
[[test]]
name = "reader_live_tail"
path = "tests/reader_live_tail.rs"
[[test]]
name = "saga_money_transfer"
path = "tests/saga_money_transfer.rs"
[[test]]
name = "saga_state_persistence"
path = "tests/saga_state_persistence.rs"
[[test]]
name = "specification"
path = "tests/specification.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.atomr-cluster-tools]
version = "0.9.2"
optional = true
[dependencies.atomr-core]
version = "0.9.2"
[dependencies.atomr-persistence]
version = "0.9.2"
[dependencies.atomr-persistence-query]
version = "0.9.2"
[dependencies.atomr-streams]
version = "0.9.2"
[dependencies.futures]
version = "0.3"
[dependencies.parking_lot]
version = "0.12"
[dependencies.thiserror]
version = "1"
[dependencies.tokio]
version = "1.39"
features = ["full"]
[dependencies.tracing]
version = "0.1"
[dev-dependencies.atomr-cluster-tools]
version = "0.9.2"
[dev-dependencies.atomr-config]
version = "0.9.2"
[dev-dependencies.atomr-persistence-query-inmemory]
version = "0.9.2"
[lints.clippy]
todo = "deny"
unimplemented = "deny"