eventcore 0.6.0

Type-driven event sourcing library for Rust with atomic multi-stream commands
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 = "eventcore"
version = "0.6.0"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Type-driven event sourcing library for Rust with atomic multi-stream commands"
readme = false
license = "MIT"
repository = "https://github.com/jwilger/eventcore"
resolver = "2"

[features]
default = ["macros"]
macros = ["dep:eventcore-macros"]
postgres = ["dep:eventcore-postgres"]
sqlite = ["dep:eventcore-sqlite"]

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

[[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 = "I-302-execute_future_is_send_test"
path = "tests/I-302-execute_future_is_send_test.rs"

[[test]]
name = "projection_event_retry_config_test"
path = "tests/projection_event_retry_config_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"

[dependencies.chrono]
version = "0.4.42"
features = ["serde"]

[dependencies.eventcore-macros]
version = "0.6.0"
optional = true

[dependencies.eventcore-postgres]
version = "0.6.0"
optional = true

[dependencies.eventcore-sqlite]
version = "0.6.0"
optional = true

[dependencies.eventcore-types]
version = "0.6.0"

[dependencies.rand]
version = "0.9.2"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "2.0.17"

[dependencies.tokio]
version = "1.48.0"
features = [
    "macros",
    "rt-multi-thread",
    "sync",
    "time",
]

[dependencies.tracing]
version = "0.1.44"

[dependencies.uuid]
version = "1.19.0"
features = [
    "serde",
    "v1",
    "v7",
]

[dev-dependencies.nutype]
version = "0.6.2"
features = ["serde"]

[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]
version = "1.19.0"
features = ["v7"]

[lints.rust]
warnings = "deny"