17eb51e215
工具链:rustup + stable-x86_64-pc-windows-gnu + MinGW gcc 链接器 包含内容: - Cargo.toml(edition 2024,name=matrix-music-bot) - Cargo.lock(dev profile 验证通过) - src/main.rs(hello world 占位,已 cargo build 通过) - .cargo/config.toml(项目级 cargo 配置,指定 MinGW gcc 为链接器) - .gitignore 增补:排除项目根的 plan 副本(正式版在 ~/.claude/plans/) 构建验证:cargo build 在 MinGW gcc 链接器下成功完成(1.56s) 后续 M1.2 将添加:clap(CLI 解析)+ serde/toml(配置文件)+ thiserror/anyhow + tracing(日志)+ tokio(async)+ matrix-sdk(含 E2EE crypto 与 UI timeline)
41 lines
429 B
Plaintext
41 lines
429 B
Plaintext
# Rust build artifacts
|
||
/target/
|
||
**/*.rs.bk
|
||
Cargo.lock.bak
|
||
|
||
# Runtime data (bot 运行时生成)
|
||
/data/
|
||
!data/.gitkeep
|
||
|
||
# Secrets
|
||
*.pem
|
||
*.key
|
||
*.secret
|
||
secret.bin
|
||
|
||
# Editor
|
||
.vscode/
|
||
.idea/
|
||
*.swp
|
||
*.swo
|
||
.DS_Store
|
||
Thumbs.db
|
||
|
||
# Environment
|
||
.env
|
||
.env.local
|
||
|
||
# Logs
|
||
*.log
|
||
logs/
|
||
|
||
# Cache
|
||
.cache/
|
||
|
||
# 重复的 plan 副本(正式版在 C:\Users\Administrator\.claude\plans\)
|
||
/lexical-meandering-lighthouse.md
|
||
|
||
# Added by cargo
|
||
|
||
/target
|