eventcore 0.1.6

Multi-stream aggregateless event sourcing library with type-driven development
Documentation
[dependencies.async-trait]
version = "0.1.88"

[dependencies.bincode]
features = ["serde"]
version = "2.0.1"

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

[dependencies.futures]
version = "0.3.31"

[dependencies.miette]
features = ["fancy"]
version = "7.6.0"

[dependencies.nutype]
features = ["serde"]
version = "0.6.1"

[dependencies.opentelemetry]
features = ["metrics", "trace"]
optional = true
version = "0.30"

[dependencies.opentelemetry-otlp]
features = ["grpc-tonic", "metrics"]
optional = true
version = "0.30"

[dependencies.opentelemetry_sdk]
features = ["rt-tokio"]
optional = true
version = "0.30"

[dependencies.prometheus]
optional = true
version = "0.14"

[dependencies.proptest]
optional = true
version = "1.7.0"

[dependencies.rand]
version = "0.9.2"

[dependencies.rmp-serde]
version = "1.3.0"

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

[dependencies.serde_json]
version = "1.0.141"

[dependencies.sqlx]
features = ["runtime-tokio-rustls", "postgres"]
optional = true
version = "0.8"

[dependencies.thiserror]
version = "2.0.12"

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

[dependencies.tracing]
version = "0.1.41"

[dependencies.tracing-opentelemetry]
optional = true
version = "0.31"

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

[dev-dependencies.axum]
features = ["tokio"]
version = "0.8"

[dev-dependencies.criterion]
version = "0.6.0"

[dev-dependencies.insta]
version = "1.43.1"

[dev-dependencies.proptest]
version = "1.7.0"

[dev-dependencies.rand]
version = "0.9.2"

[dev-dependencies.tokio-test]
version = "0.4.4"

[dev-dependencies.tracing-subscriber]
features = ["env-filter"]
version = "0.3.19"

[dev-dependencies.tracing-test]
version = "0.2.5"

[[example]]
name = "resource_lifecycle_example"
path = "examples/resource_lifecycle_example.rs"

[[example]]
name = "serialization_formats_example"
path = "examples/serialization_formats_example.rs"

[features]
all-exporters = ["opentelemetry", "prometheus"]
default = []
opentelemetry = ["dep:opentelemetry", "dep:opentelemetry-otlp", "dep:opentelemetry_sdk", "dep:tracing-opentelemetry"]
postgres = ["dep:sqlx"]
prometheus = ["dep:prometheus"]
testing = ["dep:proptest"]

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

[lints.clippy]
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
must_use_candidate = "allow"

[lints.clippy.all]
level = "deny"
priority = -1

[lints.clippy.cargo]
level = "warn"
priority = -1

[lints.clippy.nursery]
level = "deny"
priority = -1

[lints.clippy.pedantic]
level = "deny"
priority = -1

[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"

[package]
authors = ["EventCore Contributors"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["database", "data-structures", "asynchronous"]
description = "Multi-stream aggregateless event sourcing library with type-driven development"
edition = "2021"
keywords = ["event-sourcing", "cqrs", "ddd", "event-store", "aggregate"]
license = "MIT OR Apache-2.0"
name = "eventcore"
readme = "README.md"
repository = "https://github.com/jwilger/eventcore"
rust-version = "1.70.0"
version = "0.1.6"