# 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 = "appletheia-infrastructure"
version = "0.4.0"
authors = ["pbandj082 <pbandj082@gmail.com>"]
build = false
include = [
    "src/**",
    "migrations/**",
    "Cargo.toml",
    "README.md",
    "LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The Infrastructure Layer for Event-Sourcing Architecture"
readme = "README.md"
keywords = [
    "appletheia",
    "ddd",
    "event-sourcing",
    "cqrs",
]
license = "MIT"
repository = "https://github.com/pbandj082/appletheia"

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

[dependencies.appletheia-application]
version = "0.4.0"

[dependencies.appletheia-domain]
version = "0.2.0"

[dependencies.chrono]
version = "0.4.42"

[dependencies.futures-util]
version = "0.3.31"

[dependencies.google-cloud-googleapis]
version = "0.16.1"

[dependencies.google-cloud-pubsub]
version = "0.30.0"

[dependencies.serde]
version = "1.0.228"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.145"

[dependencies.sqlx]
version = "0.8.6"
features = [
    "runtime-tokio",
    "postgres",
    "uuid",
    "chrono",
    "migrate",
]

[dependencies.thiserror]
version = "2.0.17"

[dependencies.tonic]
version = "0.12.3"

[dependencies.uuid]
version = "1.18.1"
features = [
    "serde",
    "v7",
]

[dev-dependencies.tokio]
version = "1.48.0"
features = [
    "rt",
    "macros",
]
