# 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.8.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.aes-gcm]
version = "0.10.3"
features = ["std"]

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

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

[dependencies.base64]
version = "0.22.1"

[dependencies.chrono]
version = "0.4.42"

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

[dependencies.google-cloud-gax]
version = "1.8.0"

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

[dependencies.httpdate]
version = "1.0.3"

[dependencies.jsonwebtoken]
version = "10.3.0"
features = ["rust_crypto"]

[dependencies.reqwest]
version = "0.13.2"
features = [
    "rustls",
    "gzip",
]
default-features = false

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

[dependencies.serde_json]
version = "1.0.145"

[dependencies.sha2]
version = "0.10.9"

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

[dependencies.thiserror]
version = "2.0.17"

[dependencies.url]
version = "2.5.7"

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

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