chore: 新增项目规则文档、构建别名及忽略规则 添加 AGENTS.md 项目规则文件,涵盖语言与工具链、模块设计、 Git 提交规范及验证流程等内容。 变更要点: - .cargo/config.toml 新增 xtask 命令别名 - .gitignore 忽略运行时地图缓存、接收器配置文件、 构建锁文件及本地 docs/ 目录 - 新增 AGENTS.md 定义项目编码、提交与审查规则 ```
15 lines
411 B
TOML
15 lines
411 B
TOML
[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"] }
|