tellus-persistence-postgres 0.1.1

PostgreSQL event and snapshot stores for tellus persistence
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 = "tellus-persistence-postgres"
version = "0.1.1"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "PostgreSQL event and snapshot stores for tellus persistence"
homepage = "https://github.com/hseeberger/tellus"
documentation = "https://docs.rs/tellus-persistence-postgres/latest/tellus_persistence_postgres/"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/hseeberger/tellus"

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

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

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

[[test]]
name = "store"
path = "tests/store.rs"

[dependencies.sqlx]
version = "0.9"
features = [
    "runtime-tokio",
    "tls-rustls-ring",
    "postgres",
    "migrate",
    "macros",
]
default-features = false

[dependencies.tellus]
version = "0.2.1"
features = ["persistence"]

[dependencies.thiserror]
version = "2.0"

[dev-dependencies.anyhow]
version = "1.0"

[dev-dependencies.composed]
version = "0.1"

[dev-dependencies.serde]
version = "1.0"
features = ["derive"]

[dev-dependencies.tellus]
version = "0.2.1"
features = ["persistence-tests"]

[dev-dependencies.testcontainers-modules]
version = "0.15"
features = ["postgres"]

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt-multi-thread",
]

[dev-dependencies.tracing-subscriber]
version = "0.3"
features = [
    "env-filter",
    "fmt",
    "json",
]