3206f8f49b
- packages/shared 新增共享游戏加载面 PlatformGameLoadingSurface:封面/标题 + 动效进度 + 按时长推进的阶段文案(准备/资源/引擎)+ 慢加载提示,附用例 - 网页游玩页用共享加载面替换近黑壳上的一行小字,加载上限改为共享常量 PLATFORM_GAME_LOADING_TIMEOUT_MS - 后台审核试玩补加载面、20 秒超时与「重新创建试玩会话」入口,新会话重置加载态;补两条用例 - 发行网关(api-server)对文本类发行资源按 Accept-Encoding 下发 gzip,并下发强 ETag、命中 If-None-Match 返回 304;补 5 条 Rust 用例 - E2E 脚本 check-game-distribution-ops-rollback-e2e 补压缩/Vary/ETag/304/不接受 gzip 四条断言 - 同步 pitfalls、开发运维文档、nginx README 与两份里程碑记录
72 lines
2.7 KiB
TOML
72 lines
2.7 KiB
TOML
[package]
|
|
name = "api-server"
|
|
edition.workspace = true
|
|
version.workspace = true
|
|
license.workspace = true
|
|
|
|
[dependencies]
|
|
aes = { workspace = true }
|
|
async-stream = { workspace = true }
|
|
axum = { workspace = true, features = ["ws", "multipart"] }
|
|
base64 = { workspace = true }
|
|
cbc = { workspace = true }
|
|
bytes = { workspace = true }
|
|
dotenvy = { workspace = true }
|
|
flate2 = { workspace = true }
|
|
hex = { workspace = true }
|
|
image = { workspace = true, features = ["jpeg", "png", "webp"] }
|
|
http-body-util = { workspace = true }
|
|
reqwest = { workspace = true, features = ["json", "multipart", "rustls-tls"] }
|
|
regex = { workspace = true }
|
|
rmcp = { workspace = true, features = ["server", "transport-streamable-http-server"] }
|
|
webp = { workspace = true }
|
|
module-ai = { workspace = true }
|
|
module-assets = { workspace = true, features = ["server-service"] }
|
|
module-auth = { workspace = true }
|
|
module-editor-agent = { workspace = true }
|
|
module-game-distribution = { workspace = true }
|
|
module-runtime = { workspace = true }
|
|
platform-editor-agent = { workspace = true }
|
|
platform-audio = { workspace = true }
|
|
platform-auth = { workspace = true }
|
|
platform-hyper3d = { workspace = true }
|
|
platform-image = { workspace = true }
|
|
platform-llm = { workspace = true }
|
|
platform-matting = { workspace = true }
|
|
platform-oss = { workspace = true }
|
|
platform-speech = { workspace = true }
|
|
platform-wechat = { workspace = true }
|
|
hmac = { workspace = true }
|
|
ring = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
sha1 = { workspace = true }
|
|
sha2 = { workspace = true }
|
|
shared-contracts = { workspace = true, features = ["oss-contracts"] }
|
|
shared-kernel = { workspace = true }
|
|
shared-logging = { workspace = true }
|
|
socket2 = { workspace = true }
|
|
spacetime-client = { workspace = true }
|
|
tokio = { workspace = true, features = ["macros", "rt-multi-thread", "net", "time", "sync", "fs", "io-util", "signal", "process"] }
|
|
tokio-stream = { workspace = true }
|
|
futures-util = { workspace = true }
|
|
time = { workspace = true, features = ["formatting"] }
|
|
tower-http = { workspace = true, features = ["trace"] }
|
|
tower = { workspace = true, features = ["util"] }
|
|
tracing = { workspace = true }
|
|
opentelemetry = { workspace = true }
|
|
url = { workspace = true }
|
|
urlencoding = { workspace = true }
|
|
uuid = { workspace = true, features = ["v4"] }
|
|
zip = { workspace = true, features = ["deflate"] }
|
|
tempfile = { workspace = true }
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
windows-sys = { workspace = true, features = ["Win32_Foundation", "Win32_System_Diagnostics_ToolHelp", "Win32_System_ProcessStatus", "Win32_System_Threading"] }
|
|
|
|
[dev-dependencies]
|
|
png = { workspace = true }
|
|
base64 = { workspace = true }
|
|
http-body-util = { workspace = true }
|
|
reqwest = { workspace = true, features = ["json", "multipart", "rustls-tls"] }
|