2026-03-21 12:57:09 +08:00
|
|
|
[package]
|
|
|
|
|
name = "aether-gateway"
|
|
|
|
|
version = "0.1.0"
|
|
|
|
|
edition.workspace = true
|
|
|
|
|
license.workspace = true
|
|
|
|
|
repository.workspace = true
|
|
|
|
|
description = "Rust ingress gateway for Aether phase 3a transparent proxy"
|
|
|
|
|
|
|
|
|
|
[dependencies]
|
2026-04-09 00:10:38 +08:00
|
|
|
aether-admin.workspace = true
|
2026-05-02 18:19:39 +08:00
|
|
|
aether-ai-formats.workspace = true
|
2026-05-02 13:23:54 +08:00
|
|
|
aether-ai-serving.workspace = true
|
2026-03-31 19:19:04 +08:00
|
|
|
aether-billing.workspace = true
|
2026-03-24 15:12:56 +08:00
|
|
|
aether-cache.workspace = true
|
2026-03-21 12:57:09 +08:00
|
|
|
aether-contracts.workspace = true
|
2026-03-31 19:19:04 +08:00
|
|
|
aether-crypto.workspace = true
|
2026-03-24 15:12:56 +08:00
|
|
|
aether-data.workspace = true
|
2026-04-07 02:50:19 +08:00
|
|
|
aether-data-contracts.workspace = true
|
2026-05-12 13:15:41 +08:00
|
|
|
aether-dispatch-core.workspace = true
|
2026-03-24 15:12:56 +08:00
|
|
|
aether-http.workspace = true
|
2026-04-05 20:23:16 +08:00
|
|
|
aether-model-fetch.workspace = true
|
2026-04-28 15:46:21 +08:00
|
|
|
aether-oauth.workspace = true
|
2026-05-13 18:19:15 +08:00
|
|
|
aether-pool-core.workspace = true
|
|
|
|
|
aether-provider-pool.workspace = true
|
2026-04-05 20:23:16 +08:00
|
|
|
aether-provider-transport.workspace = true
|
|
|
|
|
aether-scheduler-core.workspace = true
|
2026-03-24 15:12:56 +08:00
|
|
|
aether-runtime.workspace = true
|
2026-05-08 00:18:12 +08:00
|
|
|
aether-runtime-state.workspace = true
|
2026-05-09 21:19:29 +08:00
|
|
|
aether-task-runtime.workspace = true
|
2026-04-05 20:23:16 +08:00
|
|
|
aether-usage-runtime.workspace = true
|
|
|
|
|
aether-video-tasks-core.workspace = true
|
2026-03-31 19:19:04 +08:00
|
|
|
aether-wallet.workspace = true
|
2026-03-21 12:57:09 +08:00
|
|
|
async-stream.workspace = true
|
2026-03-31 19:19:04 +08:00
|
|
|
async-trait.workspace = true
|
2026-04-03 14:59:58 +08:00
|
|
|
axum = { version = "0.8", features = ["ws"] }
|
2026-03-21 12:57:09 +08:00
|
|
|
base64.workspace = true
|
2026-03-31 19:19:04 +08:00
|
|
|
bcrypt.workspace = true
|
2026-03-21 12:57:09 +08:00
|
|
|
bytes.workspace = true
|
2026-03-31 19:19:04 +08:00
|
|
|
chrono.workspace = true
|
|
|
|
|
chrono-tz.workspace = true
|
2026-03-21 12:57:09 +08:00
|
|
|
clap = { version = "4", features = ["derive", "env"] }
|
2026-04-03 14:59:58 +08:00
|
|
|
dashmap = "6"
|
2026-03-31 19:19:04 +08:00
|
|
|
flate2.workspace = true
|
2026-03-21 12:57:09 +08:00
|
|
|
futures-util.workspace = true
|
2026-03-31 19:19:04 +08:00
|
|
|
hmac.workspace = true
|
2026-03-21 12:57:09 +08:00
|
|
|
http.workspace = true
|
2026-04-11 12:36:35 +08:00
|
|
|
ldap3 = { version = "0.11", default-features = false, features = ["sync", "tls-rustls"] }
|
2026-05-13 01:18:38 +08:00
|
|
|
md-5 = "0.10"
|
2026-04-03 14:59:58 +08:00
|
|
|
parking_lot = "0.12"
|
2026-03-31 19:19:04 +08:00
|
|
|
regex.workspace = true
|
2026-03-21 12:57:09 +08:00
|
|
|
reqwest.workspace = true
|
2026-03-31 19:19:04 +08:00
|
|
|
rustls.workspace = true
|
2026-03-21 12:57:09 +08:00
|
|
|
serde.workspace = true
|
|
|
|
|
serde_json.workspace = true
|
2026-04-07 02:50:19 +08:00
|
|
|
sha1 = "0.10"
|
2026-03-31 19:19:04 +08:00
|
|
|
sha2.workspace = true
|
|
|
|
|
sqlx.workspace = true
|
2026-03-21 12:57:09 +08:00
|
|
|
thiserror.workspace = true
|
|
|
|
|
tokio.workspace = true
|
|
|
|
|
tokio-util.workspace = true
|
2026-04-03 16:26:16 +08:00
|
|
|
tower = { version = "0.5", features = ["util"] }
|
|
|
|
|
tower-http = { version = "0.6", features = ["fs", "compression-gzip", "set-header"] }
|
2026-03-24 15:12:56 +08:00
|
|
|
tracing.workspace = true
|
refactor: 拆分 Rust gateway/executor 大文件为模块目录结构,拆分 Python gateway.py 为子模块
Rust 侧:
- executor.rs 拆分为 executor/ 目录 (plan_builders, stream, sync, submission)
- 新增 kiro_stream/, local_finalize/, local_stream/ 模块目录
- 新增 video_tasks.rs
- 测试文件 ai_execute/files/video 拆分为子目录
- handlers/headers/control/constants 扩展支持新模块
Python 侧:
- gateway.py 拆分为 24 个子模块 (routes, shared, contract, chat, cli, video, files, finalize, reporting 等)
- 新增 antigravity/gemini_cli/kiro 的 rust_http 适配层
- upstream_fetcher 增加 Rust sidecar 支持
- executor_plan/candidate/pipeline 适配调整
测试:
- 对应拆分 test_internal_gateway_routes 为子目录
- 新增 rust_http 相关测试
2026-03-23 17:19:15 +08:00
|
|
|
url.workspace = true
|
2026-03-21 12:57:09 +08:00
|
|
|
uuid.workspace = true
|
2026-03-31 19:19:04 +08:00
|
|
|
webpki-roots.workspace = true
|
2026-04-05 20:23:16 +08:00
|
|
|
|
2026-04-11 12:21:33 +08:00
|
|
|
[target.'cfg(not(target_env = "msvc"))'.dependencies]
|
|
|
|
|
tikv-jemallocator = "0.6"
|
|
|
|
|
|
2026-04-05 20:23:16 +08:00
|
|
|
[dev-dependencies]
|
2026-04-10 15:06:42 +08:00
|
|
|
aether-testkit.workspace = true
|
2026-04-05 20:23:16 +08:00
|
|
|
tracing-subscriber.workspace = true
|