[dependencies.chrono]
features = ["serde"]
version = "0.4.42"
[dependencies.eventcore-macros]
optional = true
version = "0.2.1"
[dependencies.eventcore-postgres]
optional = true
version = "0.2.0"
[dependencies.eventcore-types]
version = "0.2.0"
[dependencies.rand]
version = "0.9.2"
[dependencies.serde]
features = ["derive"]
version = "1.0.228"
[dependencies.serde_json]
version = "1.0"
[dependencies.thiserror]
version = "2.0.17"
[dependencies.tokio]
features = ["macros", "rt-multi-thread", "sync", "time"]
version = "1.48.0"
[dependencies.tracing]
version = "0.1.44"
[dependencies.uuid]
features = ["serde", "v1", "v7"]
version = "1.19.0"
[dev-dependencies.nutype]
features = ["serde"]
version = "0.6.2"
[dev-dependencies.proptest]
version = "1.9.0"
[dev-dependencies.tracing-mock]
version = "0.1.0-beta.3"
[dev-dependencies.tracing-test]
version = "0.2.5"
[dev-dependencies.uuid]
features = ["v7"]
version = "1.19.0"
[features]
default = ["macros"]
macros = ["dep:eventcore-macros"]
postgres = ["dep:eventcore-postgres"]
[lib]
name = "eventcore"
path = "src/lib.rs"
[lints.rust]
warnings = "deny"
[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = "build.rs"
description = "Type-driven event sourcing library for Rust with atomic multi-stream commands"
edition = "2024"
license = "MIT"
name = "eventcore"
readme = false
resolver = "2"
version = "0.2.0"
[[test]]
name = "I-001-single_stream-command_test"
path = "tests/I-001-single_stream-command_test.rs"
[[test]]
name = "I-003-retry_policy_test"
path = "tests/I-003-retry_policy_test.rs"
[[test]]
name = "I-004-multi_stream_atomic_test"
path = "tests/I-004-multi_stream_atomic_test.rs"
[[test]]
name = "I-007-dynamic_stream_discovery_test"
path = "tests/I-007-dynamic_stream_discovery_test.rs"
[[test]]
name = "projection_poll_retry_test"
path = "tests/projection_poll_retry_test.rs"
[[test]]
name = "projection_runner_test"
path = "tests/projection_runner_test.rs"