[workspace]
members = [
".",
"examples/payments"
]
[package]
name = "esrs"
version = "0.3.0"
license = "MIT OR Apache-2.0"
readme = "README.md"
edition = "2018"
description = "A Prima.it-opinionated library to achieve cqrs/es"
repository = "https://github.com/primait/event_sourcing.rs"
keywords = ["event_sourcing", "async", "postgres"]
categories = ["event_sourcing"]
authors = ["Simone Cottini <cottini.simone@gmail.com>"]
[[example]]
name = "payments"
path = "examples/payments/src/main.rs"
[features]
default = ["postgres"]
postgres = []
[dependencies]
serde = { version = "^1.0", features = ["derive"] }
serde_json = "^1.0"
uuid = { version = "^0.8.1", features = ["serde", "v4"] }
chrono = { version = "^0.4", features = ["serde"] }
async-trait = "0.1.50"
sqlx = { version = "0.4", features = ["postgres", "runtime-tokio-native-tls", "uuid", "json", "chrono"] }
futures = { version = "0.3.13" }
[dev-dependencies]
payments = { path = "examples/payments" }
actix-rt = "^1.0"