- 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
49 lines
1.2 KiB
TOML
49 lines
1.2 KiB
TOML
[package]
|
|
name = "report-generator-service"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
[dependencies]
|
|
# Web Service
|
|
axum = { version = "0.8.7", features = ["multipart"] }
|
|
tokio = { version = "1.0", features = ["full"] }
|
|
tower-http = { version = "0.6.6", features = ["cors"] }
|
|
|
|
# Shared Contracts
|
|
common-contracts = { path = "../common-contracts", default-features = false }
|
|
workflow-context = { path = "../../crates/workflow-context" }
|
|
|
|
# Message Queue (NATS)
|
|
async-nats = "0.45.0"
|
|
futures = "0.3"
|
|
|
|
# Data Persistence Client
|
|
reqwest = { version = "0.12.4", default-features = false, features = ["json", "rustls-tls", "multipart"] }
|
|
|
|
# Concurrency & Async
|
|
async-trait = "0.1.80"
|
|
dashmap = "6.1.0" # For concurrent task tracking
|
|
uuid = { version = "1.6", features = ["v4", "serde"] }
|
|
|
|
# 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.38"
|
|
tera = "1.19"
|
|
petgraph = "0.8.3"
|
|
async-openai = "0.30.1"
|
|
futures-util = "0.3"
|
|
async-stream = "0.3"
|
|
serde_yaml = "0.9.34"
|