Files
zeekay 91fc25cc04 Fix compilation errors for Axum 0.7 and PyO3 0.20
- Add axum-extra for TypedHeader support (removed from axum 0.7)
- Update imports to use axum_extra::TypedHeader and headers
- Add From<PyErr> implementation for AppError
- Simplify GrpoManager to use PyO3 0.20 bound API
- Use import_bound and downcast for PyO3 compatibility
2026-01-17 17:26:58 -08:00

52 lines
1.2 KiB
TOML

[package]
name = "hanzo-cloud"
version = "0.1.0"
edition = "2021"
[dependencies]
# Web framework
axum = { version = "0.7", features = ["macros", "multipart"] }
axum-extra = { version = "0.9", features = ["typed-header"] }
tower = "0.4"
tower-http = { version = "0.5", features = ["cors", "trace"] }
tokio = { version = "1", features = ["full"] }
# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
# HTTP client for provider APIs
reqwest = { version = "0.12", features = ["json"] }
# Database
sqlx = { version = "0.7", features = ["runtime-tokio-rustls", "postgres", "uuid", "chrono"] }
redis = { version = "0.24", features = ["tokio-comp", "connection-manager"] }
# Authentication & Security
jsonwebtoken = "9"
bcrypt = "0.15"
uuid = { version = "1.6", features = ["serde", "v4"] }
# Environment & Configuration
dotenvy = "0.15"
config = "0.14"
# Logging & Tracing
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# Error handling
anyhow = "1.0"
thiserror = "1.0"
# Time & Date
chrono = { version = "0.4", features = ["serde"] }
# Python integration for GRPO
pyo3 = { version = "0.20", features = ["auto-initialize"] }
[profile.release]
opt-level = 3
lto = true
codegen-units = 1