Skip to content

Commit 286e64d

Browse files
committed
test-renderers: Clean up port feature dependencies.
`all-is-cubes-port` is used only by the glTF test, so the `gltf` feature should enable it and there's no need for enabling specific features. This is a workaround for <rust-lang/cargo#14016> affecting my testing against nightly & edition 2024. I'm not sure whether I prefer it overall.
1 parent 0b218a4 commit 286e64d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test-renderers/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,7 @@ auto-threads = [
5151
"all-is-cubes-render/auto-threads",
5252
]
5353
gltf = [
54-
"all-is-cubes-port/export",
55-
"all-is-cubes-port/gltf",
54+
"dep:all-is-cubes-port",
5655
"dep:rend3",
5756
"dep:rend3-gltf",
5857
"dep:rend3-routine",
@@ -65,7 +64,8 @@ gltf = [
6564
all-is-cubes = { workspace = true, features = ["save"] }
6665
all-is-cubes-content = { workspace = true }
6766
all-is-cubes-gpu = { workspace = true, features = ["wgpu"] }
68-
all-is-cubes-port = { workspace = true, optional = true }
67+
# used only for gltf export+render tests
68+
all-is-cubes-port = { workspace = true, optional = true, features = ["export", "gltf"] }
6969
all-is-cubes-render = { workspace = true, features = ["raytracer", "std"] }
7070
all-is-cubes-ui = { workspace = true }
7171
async_fn_traits = { workspace = true }

0 commit comments

Comments
 (0)