sourcery-postgres 0.2.0

A Postgres implementation of the Sourcery 'EventStore'
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"
rust-version = "1.92.0"
name = "sourcery-postgres"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Postgres implementation of the Sourcery 'EventStore'"
homepage = "https://github.com/danieleades/sourcery"
readme = "README.md"
keywords = [
    "event-sourcing",
    "cqrs",
]
categories = [
    "asynchronous",
    "database",
    "database-implementations",
]
license = "GPL-3.0-only"

[features]
default = []

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

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

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

[[bench]]
name = "snapshot_store"
path = "benches/snapshot_store.rs"
harness = false

[dependencies.nonempty]
version = "0.10"

[dependencies.serde]
version = "1"
features = [
    "derive",
    "std",
]
default-features = false

[dependencies.serde_json]
version = "1"
features = ["std"]
default-features = false

[dependencies.sourcery-core]
version = "0.2"

[dependencies.sqlx]
version = "0.8.3"
features = [
    "json",
    "postgres",
    "runtime-tokio-rustls",
    "uuid",
]
default-features = false

[dependencies.thiserror]
version = "2"
features = ["std"]
default-features = false

[dependencies.tracing]
version = "0.1"
features = [
    "attributes",
    "std",
]
default-features = false

[dependencies.uuid]
version = "1"
features = ["std"]
default-features = false

[dev-dependencies.criterion]
version = "0.6"
features = ["async_tokio"]
default-features = false

[dev-dependencies.serde_json]
version = "1"
features = ["std"]
default-features = false

[dev-dependencies.testcontainers]
version = "0.26"
default-features = false

[dev-dependencies.testcontainers-modules]
version = "0.14"
features = ["postgres"]
default-features = false

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

[dev-dependencies.uuid]
version = "1"
features = [
    "std",
    "v4",
]
default-features = false

[lints.clippy]
nursery = "warn"
pedantic = "warn"