2024-05-25 17:46:51 +08:00
|
|
|
# 没有 [package] 为虚拟清单类型的 工作空间
|
|
|
|
|
|
|
|
[workspace.package]
|
|
|
|
# 为工作空间下的子包 定义版本号
|
|
|
|
# 子包 可以 通过 version.workspace 继承 工作空间的版本号
|
|
|
|
version = "0.1.0"
|
|
|
|
|
|
|
|
[workspace]
|
|
|
|
resolver = "2"
|
|
|
|
exclude = [
|
|
|
|
".git",
|
|
|
|
".idea",
|
|
|
|
".vscode",
|
|
|
|
"1.hello_world"
|
|
|
|
]
|
|
|
|
members = [
|
|
|
|
"2.hello_cargo",
|
|
|
|
"3.guessing_game",
|
|
|
|
"4.variables",
|
2024-06-01 19:18:14 +08:00
|
|
|
"5.function", "6.flow_and_control",
|
2024-05-25 17:46:51 +08:00
|
|
|
|
|
|
|
"x.bubble_sort"
|
|
|
|
]
|
|
|
|
|