From 286e64db92f98a5cf2664ddb1d36557a29153913 Mon Sep 17 00:00:00 2001 From: Kevin Reid Date: Mon, 26 Aug 2024 16:34:36 -0700 Subject: [PATCH] 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 affecting my testing against nightly & edition 2024. I'm not sure whether I prefer it overall. --- test-renderers/Cargo.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test-renderers/Cargo.toml b/test-renderers/Cargo.toml index 87d4eb08b..262604458 100644 --- a/test-renderers/Cargo.toml +++ b/test-renderers/Cargo.toml @@ -51,8 +51,7 @@ auto-threads = [ "all-is-cubes-render/auto-threads", ] gltf = [ - "all-is-cubes-port/export", - "all-is-cubes-port/gltf", + "dep:all-is-cubes-port", "dep:rend3", "dep:rend3-gltf", "dep:rend3-routine", @@ -65,7 +64,8 @@ gltf = [ all-is-cubes = { workspace = true, features = ["save"] } all-is-cubes-content = { workspace = true } all-is-cubes-gpu = { workspace = true, features = ["wgpu"] } -all-is-cubes-port = { workspace = true, optional = true } +# used only for gltf export+render tests +all-is-cubes-port = { workspace = true, optional = true, features = ["export", "gltf"] } all-is-cubes-render = { workspace = true, features = ["raytracer", "std"] } all-is-cubes-ui = { workspace = true } async_fn_traits = { workspace = true }