[package]
edition = "2024"
name = "eventcore-postgres"
version = "1.0.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "PostgreSQL event store adapter for EventCore event sourcing library"
readme = false
license = "MIT"
repository = "https://git.johnwilger.com/Slipstream/eventcore"
resolver = "2"
[lib]
name = "eventcore_postgres"
path = "src/lib.rs"
[[test]]
name = "atomic_multi_stream_test"
path = "tests/atomic_multi_stream_test.rs"
[[test]]
name = "batch_append_test"
path = "tests/batch_append_test.rs"
[[test]]
name = "concurrency_retry_test"
path = "tests/concurrency_retry_test.rs"
[[test]]
name = "contract_suite_test"
path = "tests/contract_suite_test.rs"
[[test]]
name = "observability_test"
path = "tests/observability_test.rs"
[[test]]
name = "postgres_internals_test"
path = "tests/postgres_internals_test.rs"
[dependencies.async-stream]
version = "0.3.6"
[dependencies.eventcore-types]
version = "1.0.1"
[dependencies.futures]
version = "0.3"
[dependencies.nutype]
version = "0.7.0"
features = ["serde"]
[dependencies.serde_json]
version = "1.0"
[dependencies.sqlx]
version = "0.8.6"
features = [
"runtime-tokio-rustls",
"postgres",
"uuid",
"chrono",
"macros",
"migrate",
]
default-features = false
[dependencies.thiserror]
version = "2.0.17"
[dependencies.tokio]
version = "1.52.1"
features = ["rt-multi-thread"]
default-features = false
[dependencies.tracing]
version = "0.1"
[dependencies.uuid]
version = "1.23.1"
features = [
"serde",
"v7",
]
[dev-dependencies.futures]
version = "0.3"
[dev-dependencies.mutants]
version = "0.0.4"
[dev-dependencies.serde]
version = "1.0"
features = ["derive"]
[dev-dependencies.tokio]
version = "1.52.1"
features = [
"macros",
"rt-multi-thread",
]
default-features = false
[dev-dependencies.tracing-test]
version = "0.2"
features = ["no-env-filter"]
[lints.clippy]
allow_attributes = "deny"
[lints.rust]
dead_code = "forbid"
deprecated = "deny"
invalid_value = "forbid"
meta_variable_misuse = "deny"
non_ascii_idents = "deny"
non_camel_case_types = "deny"
non_snake_case = "deny"
non_upper_case_globals = "deny"
overflowing_literals = "forbid"
trivial_casts = "deny"
trivial_numeric_casts = "deny"
unconditional_recursion = "forbid"
unreachable_code = "deny"
unreachable_pub = "forbid"
unsafe_code = "forbid"
unused_allocation = "forbid"
unused_assignments = "deny"
unused_attributes = "deny"
unused_extern_crates = "deny"
unused_imports = "deny"
unused_must_use = "deny"
unused_mut = "deny"
unused_parens = "deny"
unused_qualifications = "deny"
unused_results = "deny"
unused_variables = "deny"
warnings = "deny"
[lints.rust.bad_style]
level = "deny"
priority = -1
[lints.rust.rust_2018_idioms]
level = "deny"
priority = -1
[lints.rust.rust_2021_compatibility]
level = "deny"
priority = -1