```text
chore: 新增项目规则文档、构建别名及忽略规则 添加 AGENTS.md 项目规则文件,涵盖语言与工具链、模块设计、 Git 提交规范及验证流程等内容。 变更要点: - .cargo/config.toml 新增 xtask 命令别名 - .gitignore 忽略运行时地图缓存、接收器配置文件、 构建锁文件及本地 docs/ 目录 - 新增 AGENTS.md 定义项目编码、提交与审查规则 ```
This commit is contained in:
+18
-2
@@ -3,9 +3,22 @@ name = "fpv-rid-registry"
|
||||
version = "3.0.0"
|
||||
edition = "2024"
|
||||
|
||||
[[bin]]
|
||||
name = "fpv-rid-registry-fullstack"
|
||||
path = "src/main.rs"
|
||||
|
||||
[workspace]
|
||||
members = ["crates/rid-shared", "crates/realtime-core", "crates/web-ui", "crates/web-worker", "xtask"]
|
||||
default-members = [".", "crates/rid-shared", "crates/realtime-core", "xtask"]
|
||||
resolver = "2"
|
||||
|
||||
[dependencies]
|
||||
axum = "0.8"
|
||||
tokio = { version = "1", features = ["rt-multi-thread", "macros", "net", "signal"] }
|
||||
axum = { version = "0.8", features = ["ws"] }
|
||||
tokio = { version = "1", features = ["rt-multi-thread", "macros", "net", "signal", "sync", "time", "io-util"] }
|
||||
tokio-serial = { version = "=5.5.0", default-features = false }
|
||||
rid-shared = { path = "crates/rid-shared" }
|
||||
realtime-core = { path = "crates/realtime-core" }
|
||||
postcard = { version = "1", features = ["alloc"] }
|
||||
rusqlite = { version = "0.38", features = ["bundled", "backup"] }
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
serde_json = "1"
|
||||
@@ -16,10 +29,13 @@ zip = { version = "4", default-features = false, features = ["deflate"] }
|
||||
rust_xlsxwriter = "0.90"
|
||||
fs2 = "0.4"
|
||||
regex = "1"
|
||||
reqwest = { version = "=0.13.5", default-features = false, features = ["native-tls", "query", "system-proxy"] }
|
||||
|
||||
[dev-dependencies]
|
||||
tempfile = "3"
|
||||
tower = { version = "0.5", features = ["util"] }
|
||||
tokio-tungstenite = "0.29"
|
||||
futures-util = { version = "0.3", features = ["sink"] }
|
||||
|
||||
[profile.release]
|
||||
lto = true
|
||||
|
||||
Reference in New Issue
Block a user