- Both binaries connect to NATS on startup, ensure JetStream stream - EventPublisherAdapter<NatsTransport> replaces LogEventPublisher - nats_url config with default nats://localhost:4222 - Deleted bootstrap's LogEventPublisher (no longer needed)
33 lines
859 B
TOML
33 lines
859 B
TOML
[package]
|
|
name = "bootstrap"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
[[bin]]
|
|
name = "k_photos"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
domain = { workspace = true }
|
|
application = { workspace = true }
|
|
adapters-auth = { workspace = true }
|
|
|
|
adapters-storage = { workspace = true, features = ["s3"] }
|
|
adapters-nats = { workspace = true }
|
|
event-transport = { workspace = true }
|
|
async-nats = { workspace = true }
|
|
|
|
presentation = { workspace = true }
|
|
|
|
|
|
adapters-postgres = { path = "../adapters/postgres" }
|
|
|
|
tokio = { workspace = true }
|
|
anyhow = { workspace = true }
|
|
async-trait = { workspace = true }
|
|
tracing = { workspace = true }
|
|
tracing-subscriber = { workspace = true }
|
|
dotenvy = { workspace = true }
|
|
tower-http = { workspace = true }
|
|
axum = { workspace = true }
|