2DGameEngineByRust/Cargo.toml
cc 83477a7f64 chore: 初始化项目骨架与学习开发计划
- 搭建 Cargo workspace:engine 库 + sandbox 可执行示例,构建/运行通过
- 加入分阶段学习开发计划(Markdown / CSV / xlsx)
- 配置 .gitignore、README、MIT 许可信息

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-23 20:32:35 +08:00

19 lines
710 B
TOML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Cargo 工作空间(workspace) —— 把"引擎库"和"测试用沙盒"放在一起统一管理
[workspace]
resolver = "2"
members = [
"crates/engine", # 引擎本体(库 crate你要造的东西在这里
"examples/sandbox", # 沙盒(可执行程序),用来调用并测试引擎
]
# 所有成员共享的包级元信息,避免重复填写
[workspace.package]
edition = "2021"
license = "MIT"
authors = ["cc"]
repository = "ssh://gitea@8.130.143.54:2222/cc/2DGameEngineByRust.git"
# 在这里统一管理依赖版本,成员 crate 用 `xxx.workspace = true` 引用
# 现阶段保持空白按学习计划逐阶段添加winit / wgpu / glam ...
[workspace.dependencies]