[dependencies.anyhow]
optional = true
version = "1.0"
[dependencies.async-graphql]
default-features = false
optional = true
version = "7.0"
[dependencies.base64]
optional = true
version = "0.22"
[dependencies.chrono]
default-features = false
features = ["clock", "serde"]
version = "0.4"
[dependencies.derive_builder]
version = "0.20"
[dependencies.es-entity-macros]
version = "0.10.13"
[dependencies.im]
features = ["serde"]
version = "15.1"
[dependencies.opentelemetry]
default-features = false
optional = true
version = "0.31.0"
[dependencies.opentelemetry_sdk]
features = ["rt-tokio"]
optional = true
version = "0.31.0"
[dependencies.parking_lot]
version = "0.12"
[dependencies.pin-project]
version = "1.1"
[dependencies.schemars]
features = ["uuid1"]
optional = true
version = "1.0"
[dependencies.serde]
features = ["derive"]
version = "1.0"
[dependencies.serde_json]
version = "1.0"
[dependencies.sqlx]
default-features = false
features = ["macros", "runtime-tokio-rustls", "postgres", "uuid", "chrono", "json"]
version = "0.8"
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
features = ["rt-multi-thread", "macros", "time"]
version = "1.48"
[dependencies.tracing]
default-features = false
optional = true
version = "0.1.41"
[dependencies.tracing-opentelemetry]
default-features = false
optional = true
version = "0.32.0"
[dependencies.uuid]
features = ["serde", "v7"]
version = "1.18"
[dev-dependencies.anyhow]
version = "1.0"
[dev-dependencies.async-trait]
version = "0.1"
[dev-dependencies.futures]
version = "0.3"
[dev-dependencies.tokio]
features = ["rt-multi-thread", "macros", "time"]
version = "1.48"
[features]
event-context = ["es-entity-macros/event-context", "event-context-enabled"]
event-context-enabled = ["es-entity-macros/event-context-enabled"]
fail-on-warnings = ["es-entity-macros/fail-on-warnings"]
graphql = ["es-entity-macros/graphql", "dep:async-graphql", "dep:base64"]
instrument = ["es-entity-macros/instrument", "dep:tracing"]
json-schema = ["dep:schemars"]
mdbook-test = ["dep:anyhow"]
tracing-context = ["dep:tracing", "dep:tracing-opentelemetry", "dep:opentelemetry", "dep:opentelemetry_sdk"]
[lib]
name = "es_entity"
path = "src/lib.rs"
[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["data-structures", "database"]
description = "Event Sourcing Entity Framework"
documentation = "https://docs.rs/es-entity"
edition = "2024"
license = "Apache-2.0"
name = "es-entity"
readme = "README.md"
repository = "https://github.com/GaloyMoney/es-entity"
resolver = "2"
version = "0.10.13"
[profile.mdbook-test]
inherits = "dev"
[[test]]
name = "clock"
path = "tests/clock.rs"
[[test]]
name = "context"
path = "tests/context.rs"
[[test]]
name = "es_query"
path = "tests/es_query.rs"
[[test]]
name = "from_async_trait"
path = "tests/from_async_trait.rs"
[[test]]
name = "helpers"
path = "tests/helpers.rs"
[[test]]
name = "hooks"
path = "tests/hooks.rs"
[[test]]
name = "nested_entities"
path = "tests/nested_entities.rs"
[[test]]
name = "repo"
path = "tests/repo.rs"