- docker-compose: 下线 Python backend/config-service,切换至 config-service-rs - archive: 归档 legacy Python 目录至 archive/python/* - services: 新增/更新 common-contracts、api-gateway、各 provider、report-generator-service、config-service-rs - data-persistence-service: API/system 模块与模型/DTO 调整 - frontend: 更新 useApi 与 API 路由 - docs: 更新路线图并勾选光荣退役 - cleanup: 移除 data-distance-service 占位测试
23 lines
737 B
TOML
23 lines
737 B
TOML
[package]
|
|
name = "common-contracts"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
description = "Shared strongly-typed contracts (models, DTOs, messages, observability) across services."
|
|
authors = ["Lv, Qi <lvsoft@gmail.com>"]
|
|
|
|
[lib]
|
|
name = "common_contracts"
|
|
path = "src/lib.rs"
|
|
|
|
[dependencies]
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
chrono = { version = "0.4", features = ["serde"] }
|
|
uuid = { version = "1", features = ["serde", "v4"] }
|
|
rust_decimal = { version = "1.36", features = ["serde"] }
|
|
utoipa = { version = "5.4", features = ["chrono", "uuid"] }
|
|
sqlx = { version = "0.8.6", features = [ "runtime-tokio-rustls", "postgres", "chrono", "uuid", "json", "rust_decimal" ] }
|
|
service_kit = { version = "0.1.2" }
|
|
|
|
|