- Feat: Add Gotenberg service to docker-compose for headless PDF rendering - Feat: Implement /generate-pdf endpoint in report-generator-service - Feat: Add PDF generation proxy route in api-gateway - Refactor(frontend): Rewrite PDFExportButton to generate HTML with embedded styles and images - Feat(frontend): Auto-crop React Flow screenshots to remove whitespace - Style: Optimize report print layout with CSS (margins, image sizing) - Chore: Remove legacy react-pdf code and font files
44 lines
1.1 KiB
TOML
44 lines
1.1 KiB
TOML
[package]
|
|
name = "api-gateway"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
[dependencies]
|
|
# Web Service
|
|
axum = { version = "0.8.7", features = ["multipart"] }
|
|
tokio = { version = "1", features = ["full"] }
|
|
tower-http = { version = "0.6.6", features = ["cors", "trace"] }
|
|
utoipa = { version = "5.4", features = ["chrono", "uuid"] }
|
|
utoipa-swagger-ui = { version = "9.0", features = ["axum", "vendored"] }
|
|
service_kit = { version = "0.1.2" }
|
|
|
|
# Shared Contracts
|
|
common-contracts = { path = "../common-contracts", default-features = false }
|
|
|
|
# Message Queue (NATS)
|
|
async-nats = "0.45.0"
|
|
futures-util = "0.3"
|
|
async-stream = "0.3"
|
|
|
|
# HTTP Client
|
|
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls", "stream", "multipart"] }
|
|
|
|
# Concurrency & Async
|
|
uuid = { version = "1.8", features = ["v4"] }
|
|
|
|
# Serialization
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
|
|
# Logging & Telemetry
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
|
|
|
# Configuration
|
|
config = "0.15.19"
|
|
|
|
# Error Handling
|
|
thiserror = "2.0.17"
|
|
anyhow = "1.0"
|
|
chrono = "0.4.42"
|