-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use workspace inheritance for common package properties.
This will simplify maintenance of rust-version and edition. In principle, individual packages might differ, but we should avoid doing that without good reason, because that would mean moving code from one package to another could break the code or violate MSRV.
- Loading branch information
Showing
13 changed files
with
51 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,6 +38,16 @@ members = [ | |
# in a workspace, but would be implicit in a single package with edition="2021".) | ||
resolver = "2" | ||
|
||
[workspace.package] | ||
# When changing any of these values, be sure to also update the non-workspace packages | ||
# as listed above, if applicable. | ||
edition = "2021" | ||
rust-version = "1.77" | ||
license = "MIT OR Apache-2.0" | ||
authors = ["Kevin Reid <[email protected]>"] | ||
# TODO: add homepage = "..." when we have one | ||
repository = "https://github.com/kpreid/all-is-cubes" | ||
|
||
[workspace.dependencies] | ||
all-is-cubes = { path = "all-is-cubes", version = "0.7.1", default-features = false } | ||
all-is-cubes-base = { path = "all-is-cubes-base", version = "0.7.1", default-features = false } | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
[package] | ||
name = "all-is-cubes-base" | ||
version = "0.7.1" | ||
authors = ["Kevin Reid <[email protected]>"] | ||
edition = "2021" | ||
rust-version = "1.73" | ||
authors.workspace = true | ||
edition.workspace = true | ||
rust-version.workspace = true | ||
description = "Helper library for all-is-cubes. Do not use directly." | ||
repository = "https://github.com/kpreid/all-is-cubes" | ||
repository.workspace = true | ||
license = "MIT OR Apache-2.0" | ||
|
||
[lib] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
[package] | ||
name = "all-is-cubes-content" | ||
version = "0.7.0" | ||
authors = ["Kevin Reid <[email protected]>"] | ||
edition = "2021" | ||
rust-version = "1.73" | ||
authors.workspace = true | ||
edition.workspace = true | ||
rust-version.workspace = true | ||
description = "Demo/default game content for the all-is-cubes engine." | ||
# TODO: add homepage = "..." when we have one | ||
repository = "https://github.com/kpreid/all-is-cubes" | ||
repository.workspace = true | ||
license = "MIT OR Apache-2.0" | ||
categories = ["games"] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
[package] | ||
name = "all-is-cubes-desktop" | ||
version = "0.7.0" | ||
authors = ["Kevin Reid <[email protected]>"] | ||
edition = "2021" | ||
rust-version = "1.77" | ||
authors.workspace = true | ||
edition.workspace = true | ||
rust-version.workspace = true | ||
# TODO: better description | ||
description = "Recursive voxel game." | ||
# TODO: add homepage = "..." when we have one | ||
repository = "https://github.com/kpreid/all-is-cubes" | ||
repository.workspace = true | ||
license = "MIT OR Apache-2.0" | ||
# TODO: revisit categories once it's more settled what's in this package | ||
categories = ["games", "rendering"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
[package] | ||
name = "all-is-cubes-gpu" | ||
version = "0.7.0" | ||
authors = ["Kevin Reid <[email protected]>"] | ||
edition = "2021" | ||
rust-version = "1.73" | ||
authors.workspace = true | ||
edition.workspace = true | ||
rust-version.workspace = true | ||
description = "Optional GPU rendering implementation for the all-is-cubes crate." | ||
# TODO: add homepage = "..." when we have one | ||
repository = "https://github.com/kpreid/all-is-cubes" | ||
repository.workspace = true | ||
license = "MIT OR Apache-2.0" | ||
# TODO: revisit categories once it's more settled how useful this is as an engine | ||
categories = ["games", "graphics", "rendering", "rendering::engine"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
[package] | ||
name = "all-is-cubes-mesh" | ||
version = "0.7.0" | ||
authors = ["Kevin Reid <[email protected]>"] | ||
edition = "2021" | ||
rust-version = "1.73" | ||
authors.workspace = true | ||
edition.workspace = true | ||
rust-version.workspace = true | ||
description = "Mesh generation for the all-is-cubes engine." | ||
# TODO: add homepage = "..." when we have one | ||
repository = "https://github.com/kpreid/all-is-cubes" | ||
repository.workspace = true | ||
license = "MIT OR Apache-2.0" | ||
categories = ["games", "graphics", "rendering"] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
[package] | ||
name = "all-is-cubes-port" | ||
version = "0.7.0" | ||
authors = ["Kevin Reid <[email protected]>"] | ||
edition = "2021" | ||
rust-version = "1.77" | ||
authors.workspace = true | ||
edition.workspace = true | ||
rust-version.workspace = true | ||
description = "Data import/export for the all-is-cubes engine." | ||
# TODO: add homepage = "..." when we have one | ||
repository = "https://github.com/kpreid/all-is-cubes" | ||
repository.workspace = true | ||
license = "MIT OR Apache-2.0" | ||
categories = ["games", "rendering::data-formats"] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
[package] | ||
name = "all-is-cubes-server" | ||
version = "0.7.0" | ||
authors = ["Kevin Reid <[email protected]>"] | ||
edition = "2021" | ||
rust-version = "1.73" | ||
authors.workspace = true | ||
edition.workspace = true | ||
rust-version.workspace = true | ||
description = "Game server for the web edition of the recursive voxel game All is Cubes." | ||
# TODO: add homepage = "..." when we have one | ||
repository = "https://github.com/kpreid/all-is-cubes" | ||
repository.workspace = true | ||
license = "MIT OR Apache-2.0" | ||
# TODO: revisit categories once it's more settled what's in this package | ||
categories = ["games"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
[package] | ||
name = "all-is-cubes-ui" | ||
version = "0.7.0" | ||
authors = ["Kevin Reid <[email protected]>"] | ||
edition = "2021" | ||
rust-version = "1.76" | ||
authors.workspace = true | ||
edition.workspace = true | ||
rust-version.workspace = true | ||
description = "User interface subsystem for the all-is-cubes engine." | ||
# TODO: add homepage = "..." when we have one | ||
repository = "https://github.com/kpreid/all-is-cubes" | ||
repository.workspace = true | ||
license = "MIT OR Apache-2.0" | ||
categories = ["games", "gui"] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,11 @@ | ||
[package] | ||
name = "all-is-cubes" | ||
version = "0.7.1" | ||
authors = ["Kevin Reid <[email protected]>"] | ||
edition = "2021" | ||
rust-version = "1.73" | ||
authors.workspace = true | ||
edition.workspace = true | ||
rust-version.workspace = true | ||
repository.workspace = true | ||
description = "Recursive voxel game engine. Can be used for voxel raytracing." | ||
# TODO: add homepage = "..." when we have one | ||
repository = "https://github.com/kpreid/all-is-cubes" | ||
license = "MIT OR Apache-2.0" | ||
# TODO: revisit categories once it's more settled how useful this is as a game engine | ||
categories = ["games", "graphics", "rendering::engine"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
[package] | ||
name = "test-renderers" | ||
authors = ["Kevin Reid <[email protected]>"] | ||
edition = "2021" | ||
rust-version = "1.77" | ||
authors.workspace = true | ||
edition.workspace = true | ||
rust-version.workspace = true | ||
description = "Rendering tests for all-is-cubes." | ||
publish = false | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters