reliar-store-postgres 0.8.0

PostgreSQL provider for the Reliar transactional outbox and inbox: migrations, migrate(), enqueue and the SKIP LOCKED claim.
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.94"
name = "reliar-store-postgres"
version = "0.8.0"
authors = ["Sisa"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "PostgreSQL provider for the Reliar transactional outbox and inbox: migrations, migrate(), enqueue and the SKIP LOCKED claim."
readme = "README.md"
keywords = [
    "outbox",
    "inbox",
    "idempotency",
    "messaging",
    "postgres",
]
categories = [
    "asynchronous",
    "database",
]
license = "MIT"
repository = "https://github.com/sisaio/sisa-reliar"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = ["json"]
json = ["reliar-core/json"]
serde = ["serde/std"]

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

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

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

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

[[test]]
name = "postgres"
path = "tests/postgres/main.rs"
harness = false
required-features = ["json"]

[dependencies.bytes]
version = "1.12"

[dependencies.reliar-core]
version = "0.4.0"
default-features = false

[dependencies.reliar-inbox]
version = "0.1.0"

[dependencies.reliar-outbox]
version = "0.8.0"

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

[dependencies.serde_json]
version = "1"

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

[dependencies.time]
version = "0.3.47"
features = [
    "std",
    "serde",
    "parsing",
    "formatting",
    "serde-human-readable",
]
default-features = false

[dependencies.tokio]
version = "1.53"
features = [
    "rt",
    "sync",
    "time",
    "macros",
    "time",
]
default-features = false

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

[dependencies.uuid]
version = "1.26"
features = [
    "v7",
    "std",
]
default-features = false

[dev-dependencies.libtest-mimic]
version = "0.8"

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

[dev-dependencies.reliar-outbox]
version = "0.8.0"

[dev-dependencies.serde_json]
version = "1"

[dev-dependencies.sha2]
version = "0.10"
default-features = false

[dev-dependencies.testcontainers]
version = "0.27"
features = ["watchdog"]

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

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

[dev-dependencies.tokio-util]
version = "0.7"
default-features = false

[dev-dependencies.tracing-subscriber]
version = "0.3"
features = [
    "registry",
    "std",
]
default-features = false

[lints.clippy]
expect_used = "warn"
panic = "warn"
unwrap_used = "warn"

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

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

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