chore: 新增项目规则文档、构建别名及忽略规则

添加 AGENTS.md 项目规则文件,涵盖语言与工具链、模块设计、
Git 提交规范及验证流程等内容。

变更要点:
- .cargo/config.toml 新增 xtask 命令别名
- .gitignore 忽略运行时地图缓存、接收器配置文件、
  构建锁文件及本地 docs/ 目录
- 新增 AGENTS.md 定义项目编码、提交与审查规则
```
This commit is contained in:
2026-10-21 16:23:47 +08:00
parent 19d4b6de29
commit 7d2e37a0ef
75 changed files with 13196 additions and 2939 deletions
+14
View File
@@ -0,0 +1,14 @@
[package]
name = "rid-web-worker"
version = "0.1.0"
edition = "2024"
[lib]
crate-type = ["cdylib", "rlib"]
[dependencies]
rid-shared = { path = "../rid-shared" }
postcard = { version = "1", features = ["alloc"] }
wasm-bindgen = "=0.2.129"
js-sys = "0.3"
web-sys = { version = "0.3", features = ["DedicatedWorkerGlobalScope", "WebSocket", "BinaryType", "MessageEvent", "CloseEvent", "ErrorEvent", "console"] }