From 8bb811940a6e5b921dac08b0c3092ad01798fb4f Mon Sep 17 00:00:00 2001 From: marc0246 <40955683+marc0246@users.noreply.github.com> Date: Sun, 5 Nov 2023 11:24:21 +0100 Subject: [PATCH] Prevent examples from being tested/benchmarked/documented (#2396) --- examples/async-update/Cargo.toml | 3 +++ examples/basic-compute-shader/Cargo.toml | 3 +++ examples/buffer-allocator/Cargo.toml | 3 +++ examples/clear-attachments/Cargo.toml | 3 +++ examples/debug/Cargo.toml | 3 +++ examples/deferred/Cargo.toml | 3 +++ examples/dynamic-buffers/Cargo.toml | 3 +++ examples/dynamic-local-size/Cargo.toml | 3 +++ examples/gl-interop/Cargo.toml | 3 +++ examples/image-self-copy-blit/Cargo.toml | 3 +++ examples/image/Cargo.toml | 3 +++ examples/immutable-sampler/Cargo.toml | 3 +++ examples/indirect/Cargo.toml | 3 +++ examples/instancing/Cargo.toml | 3 +++ examples/interactive-fractal/Cargo.toml | 3 +++ examples/msaa-renderpass/Cargo.toml | 3 +++ examples/multi-window-game-of-life/Cargo.toml | 3 +++ examples/multi-window/Cargo.toml | 3 +++ examples/multiview/Cargo.toml | 3 +++ examples/occlusion-query/Cargo.toml | 3 +++ examples/pipeline-caching/Cargo.toml | 3 +++ examples/push-constants/Cargo.toml | 3 +++ examples/push-descriptors/Cargo.toml | 3 +++ examples/runtime-array/Cargo.toml | 3 +++ examples/runtime-shader/Cargo.toml | 3 +++ examples/self-copy-buffer/Cargo.toml | 3 +++ examples/shader-include/Cargo.toml | 3 +++ examples/shader-types-derive/Cargo.toml | 3 +++ examples/shader-types-sharing/Cargo.toml | 3 +++ examples/simple-particles/Cargo.toml | 3 +++ examples/specialization-constants/Cargo.toml | 3 +++ examples/teapot/Cargo.toml | 3 +++ examples/tessellation/Cargo.toml | 3 +++ examples/texture-array/Cargo.toml | 3 +++ examples/triangle-v1_3/Cargo.toml | 3 +++ examples/triangle/Cargo.toml | 3 +++ 36 files changed, 108 insertions(+) diff --git a/examples/async-update/Cargo.toml b/examples/async-update/Cargo.toml index b46b55cb..f46ffef1 100644 --- a/examples/async-update/Cargo.toml +++ b/examples/async-update/Cargo.toml @@ -7,6 +7,9 @@ publish = false [[bin]] name = "async-update" path = "main.rs" +test = false +bench = false +doc = false [dependencies] cgmath = { workspace = true } diff --git a/examples/basic-compute-shader/Cargo.toml b/examples/basic-compute-shader/Cargo.toml index f1829266..1d0a35a5 100644 --- a/examples/basic-compute-shader/Cargo.toml +++ b/examples/basic-compute-shader/Cargo.toml @@ -7,6 +7,9 @@ publish = false [[bin]] name = "basic-compute-shader" path = "main.rs" +test = false +bench = false +doc = false [dependencies] vulkano = { workspace = true } diff --git a/examples/buffer-allocator/Cargo.toml b/examples/buffer-allocator/Cargo.toml index e9fa6e4d..27729c4e 100644 --- a/examples/buffer-allocator/Cargo.toml +++ b/examples/buffer-allocator/Cargo.toml @@ -7,6 +7,9 @@ publish = false [[bin]] name = "buffer-allocator" path = "main.rs" +test = false +bench = false +doc = false [dependencies] vulkano = { workspace = true } diff --git a/examples/clear-attachments/Cargo.toml b/examples/clear-attachments/Cargo.toml index 10d2fb52..3ca2e928 100644 --- a/examples/clear-attachments/Cargo.toml +++ b/examples/clear-attachments/Cargo.toml @@ -7,6 +7,9 @@ publish = false [[bin]] name = "clear-attachments" path = "main.rs" +test = false +bench = false +doc = false [dependencies] vulkano = { workspace = true } diff --git a/examples/debug/Cargo.toml b/examples/debug/Cargo.toml index 9dd58cce..db5ce7d5 100644 --- a/examples/debug/Cargo.toml +++ b/examples/debug/Cargo.toml @@ -7,6 +7,9 @@ publish = false [[bin]] name = "debug" path = "main.rs" +test = false +bench = false +doc = false [dependencies] vulkano = { workspace = true } diff --git a/examples/deferred/Cargo.toml b/examples/deferred/Cargo.toml index 742162ab..71fe6e24 100644 --- a/examples/deferred/Cargo.toml +++ b/examples/deferred/Cargo.toml @@ -7,6 +7,9 @@ publish = false [[bin]] name = "deferred" path = "main.rs" +test = false +bench = false +doc = false [dependencies] cgmath = { workspace = true } diff --git a/examples/dynamic-buffers/Cargo.toml b/examples/dynamic-buffers/Cargo.toml index bb7c2784..256bccfd 100644 --- a/examples/dynamic-buffers/Cargo.toml +++ b/examples/dynamic-buffers/Cargo.toml @@ -7,6 +7,9 @@ publish = false [[bin]] name = "dynamic-buffers" path = "main.rs" +test = false +bench = false +doc = false [dependencies] vulkano = { workspace = true } diff --git a/examples/dynamic-local-size/Cargo.toml b/examples/dynamic-local-size/Cargo.toml index 079cdfee..65cef5ea 100644 --- a/examples/dynamic-local-size/Cargo.toml +++ b/examples/dynamic-local-size/Cargo.toml @@ -7,6 +7,9 @@ publish = false [[bin]] name = "dynamic-local-size" path = "main.rs" +test = false +bench = false +doc = false [dependencies] png = { workspace = true } diff --git a/examples/gl-interop/Cargo.toml b/examples/gl-interop/Cargo.toml index 3569947f..cde8da21 100644 --- a/examples/gl-interop/Cargo.toml +++ b/examples/gl-interop/Cargo.toml @@ -7,6 +7,9 @@ publish = false [[bin]] name = "gl-interop" path = "main.rs" +test = false +bench = false +doc = false [dependencies] glium = "0.32.1" diff --git a/examples/image-self-copy-blit/Cargo.toml b/examples/image-self-copy-blit/Cargo.toml index f99f1fa8..0df636d6 100644 --- a/examples/image-self-copy-blit/Cargo.toml +++ b/examples/image-self-copy-blit/Cargo.toml @@ -7,6 +7,9 @@ publish = false [[bin]] name = "image-self-copy-blit" path = "main.rs" +test = false +bench = false +doc = false [dependencies] png = { workspace = true } diff --git a/examples/image/Cargo.toml b/examples/image/Cargo.toml index e2a6cf35..2273551b 100644 --- a/examples/image/Cargo.toml +++ b/examples/image/Cargo.toml @@ -7,6 +7,9 @@ publish = false [[bin]] name = "image" path = "main.rs" +test = false +bench = false +doc = false [dependencies] png = { workspace = true } diff --git a/examples/immutable-sampler/Cargo.toml b/examples/immutable-sampler/Cargo.toml index 89d7ebbd..36d2c4c3 100644 --- a/examples/immutable-sampler/Cargo.toml +++ b/examples/immutable-sampler/Cargo.toml @@ -7,6 +7,9 @@ publish = false [[bin]] name = "immutable-sampler" path = "main.rs" +test = false +bench = false +doc = false [dependencies] png = { workspace = true } diff --git a/examples/indirect/Cargo.toml b/examples/indirect/Cargo.toml index ee75d61e..8830bed5 100644 --- a/examples/indirect/Cargo.toml +++ b/examples/indirect/Cargo.toml @@ -7,6 +7,9 @@ publish = false [[bin]] name = "indirect" path = "main.rs" +test = false +bench = false +doc = false [dependencies] vulkano = { workspace = true } diff --git a/examples/instancing/Cargo.toml b/examples/instancing/Cargo.toml index a2f7b71b..e0328a5c 100644 --- a/examples/instancing/Cargo.toml +++ b/examples/instancing/Cargo.toml @@ -7,6 +7,9 @@ publish = false [[bin]] name = "instancing" path = "main.rs" +test = false +bench = false +doc = false [dependencies] vulkano = { workspace = true } diff --git a/examples/interactive-fractal/Cargo.toml b/examples/interactive-fractal/Cargo.toml index b86d1891..1bcddf04 100644 --- a/examples/interactive-fractal/Cargo.toml +++ b/examples/interactive-fractal/Cargo.toml @@ -7,6 +7,9 @@ publish = false [[bin]] name = "interactive-fractal" path = "main.rs" +test = false +bench = false +doc = false [dependencies] cgmath = { workspace = true } diff --git a/examples/msaa-renderpass/Cargo.toml b/examples/msaa-renderpass/Cargo.toml index bb4ae6ff..e09e1fbb 100644 --- a/examples/msaa-renderpass/Cargo.toml +++ b/examples/msaa-renderpass/Cargo.toml @@ -7,6 +7,9 @@ publish = false [[bin]] name = "msaa-renderpass" path = "main.rs" +test = false +bench = false +doc = false [dependencies] png = { workspace = true } diff --git a/examples/multi-window-game-of-life/Cargo.toml b/examples/multi-window-game-of-life/Cargo.toml index 9a5f6b9d..9de6ddbb 100644 --- a/examples/multi-window-game-of-life/Cargo.toml +++ b/examples/multi-window-game-of-life/Cargo.toml @@ -7,6 +7,9 @@ publish = false [[bin]] name = "multi-window-game-of-life" path = "main.rs" +test = false +bench = false +doc = false [dependencies] cgmath = { workspace = true } diff --git a/examples/multi-window/Cargo.toml b/examples/multi-window/Cargo.toml index 3e08151f..942594a8 100644 --- a/examples/multi-window/Cargo.toml +++ b/examples/multi-window/Cargo.toml @@ -7,6 +7,9 @@ publish = false [[bin]] name = "multi-window" path = "main.rs" +test = false +bench = false +doc = false [dependencies] vulkano = { workspace = true } diff --git a/examples/multiview/Cargo.toml b/examples/multiview/Cargo.toml index 7fabbc17..260ecc60 100644 --- a/examples/multiview/Cargo.toml +++ b/examples/multiview/Cargo.toml @@ -7,6 +7,9 @@ publish = false [[bin]] name = "multiview" path = "main.rs" +test = false +bench = false +doc = false [dependencies] png = { workspace = true } diff --git a/examples/occlusion-query/Cargo.toml b/examples/occlusion-query/Cargo.toml index d0a57e7e..a23d4501 100644 --- a/examples/occlusion-query/Cargo.toml +++ b/examples/occlusion-query/Cargo.toml @@ -7,6 +7,9 @@ publish = false [[bin]] name = "occlusion-query" path = "main.rs" +test = false +bench = false +doc = false [dependencies] vulkano = { workspace = true } diff --git a/examples/pipeline-caching/Cargo.toml b/examples/pipeline-caching/Cargo.toml index 97be6b5e..fc8f1ea8 100644 --- a/examples/pipeline-caching/Cargo.toml +++ b/examples/pipeline-caching/Cargo.toml @@ -7,6 +7,9 @@ publish = false [[bin]] name = "pipeline-caching" path = "main.rs" +test = false +bench = false +doc = false [dependencies] vulkano = { workspace = true } diff --git a/examples/push-constants/Cargo.toml b/examples/push-constants/Cargo.toml index 46b557f6..9e96a4ff 100644 --- a/examples/push-constants/Cargo.toml +++ b/examples/push-constants/Cargo.toml @@ -7,6 +7,9 @@ publish = false [[bin]] name = "push-constants" path = "main.rs" +test = false +bench = false +doc = false [dependencies] vulkano = { workspace = true } diff --git a/examples/push-descriptors/Cargo.toml b/examples/push-descriptors/Cargo.toml index 94785156..88244873 100644 --- a/examples/push-descriptors/Cargo.toml +++ b/examples/push-descriptors/Cargo.toml @@ -7,6 +7,9 @@ publish = false [[bin]] name = "push-descriptors" path = "main.rs" +test = false +bench = false +doc = false [dependencies] png = { workspace = true } diff --git a/examples/runtime-array/Cargo.toml b/examples/runtime-array/Cargo.toml index 2cace6af..2dca244c 100644 --- a/examples/runtime-array/Cargo.toml +++ b/examples/runtime-array/Cargo.toml @@ -7,6 +7,9 @@ publish = false [[bin]] name = "runtime-array" path = "main.rs" +test = false +bench = false +doc = false [dependencies] png = { workspace = true } diff --git a/examples/runtime-shader/Cargo.toml b/examples/runtime-shader/Cargo.toml index 56689543..404d422c 100644 --- a/examples/runtime-shader/Cargo.toml +++ b/examples/runtime-shader/Cargo.toml @@ -7,6 +7,9 @@ publish = false [[bin]] name = "runtime-shader" path = "main.rs" +test = false +bench = false +doc = false [dependencies] vulkano = { workspace = true } diff --git a/examples/self-copy-buffer/Cargo.toml b/examples/self-copy-buffer/Cargo.toml index 4cc66f7e..c34603a4 100644 --- a/examples/self-copy-buffer/Cargo.toml +++ b/examples/self-copy-buffer/Cargo.toml @@ -7,6 +7,9 @@ publish = false [[bin]] name = "self-copy-buffer" path = "main.rs" +test = false +bench = false +doc = false [dependencies] vulkano = { workspace = true } diff --git a/examples/shader-include/Cargo.toml b/examples/shader-include/Cargo.toml index 018c7d24..46a094d4 100644 --- a/examples/shader-include/Cargo.toml +++ b/examples/shader-include/Cargo.toml @@ -7,6 +7,9 @@ publish = false [[bin]] name = "shader-include" path = "main.rs" +test = false +bench = false +doc = false [dependencies] vulkano = { workspace = true } diff --git a/examples/shader-types-derive/Cargo.toml b/examples/shader-types-derive/Cargo.toml index 75a479ca..d30170c6 100644 --- a/examples/shader-types-derive/Cargo.toml +++ b/examples/shader-types-derive/Cargo.toml @@ -7,6 +7,9 @@ publish = false [[bin]] name = "shader-types-derive" path = "main.rs" +test = false +bench = false +doc = false [dependencies] ron = { workspace = true } diff --git a/examples/shader-types-sharing/Cargo.toml b/examples/shader-types-sharing/Cargo.toml index 4fa9193d..66c737a8 100644 --- a/examples/shader-types-sharing/Cargo.toml +++ b/examples/shader-types-sharing/Cargo.toml @@ -7,6 +7,9 @@ publish = false [[bin]] name = "shader-types-sharing" path = "main.rs" +test = false +bench = false +doc = false [dependencies] vulkano = { workspace = true } diff --git a/examples/simple-particles/Cargo.toml b/examples/simple-particles/Cargo.toml index 2b6c1e58..0133c7ae 100644 --- a/examples/simple-particles/Cargo.toml +++ b/examples/simple-particles/Cargo.toml @@ -7,6 +7,9 @@ publish = false [[bin]] name = "simple-particles" path = "main.rs" +test = false +bench = false +doc = false [dependencies] vulkano = { workspace = true } diff --git a/examples/specialization-constants/Cargo.toml b/examples/specialization-constants/Cargo.toml index 247a7dd0..b90174c4 100644 --- a/examples/specialization-constants/Cargo.toml +++ b/examples/specialization-constants/Cargo.toml @@ -7,6 +7,9 @@ publish = false [[bin]] name = "specialization-constants" path = "main.rs" +test = false +bench = false +doc = false [dependencies] vulkano = { workspace = true } diff --git a/examples/teapot/Cargo.toml b/examples/teapot/Cargo.toml index 52476c50..04e673bf 100644 --- a/examples/teapot/Cargo.toml +++ b/examples/teapot/Cargo.toml @@ -7,6 +7,9 @@ publish = false [[bin]] name = "teapot" path = "main.rs" +test = false +bench = false +doc = false [dependencies] cgmath = { workspace = true } diff --git a/examples/tessellation/Cargo.toml b/examples/tessellation/Cargo.toml index 9fb73369..0b1018f0 100644 --- a/examples/tessellation/Cargo.toml +++ b/examples/tessellation/Cargo.toml @@ -7,6 +7,9 @@ publish = false [[bin]] name = "tessellation" path = "main.rs" +test = false +bench = false +doc = false [dependencies] vulkano = { workspace = true } diff --git a/examples/texture-array/Cargo.toml b/examples/texture-array/Cargo.toml index bf25ea8d..5e59bdb1 100644 --- a/examples/texture-array/Cargo.toml +++ b/examples/texture-array/Cargo.toml @@ -7,6 +7,9 @@ publish = false [[bin]] name = "texture-array" path = "main.rs" +test = false +bench = false +doc = false [dependencies] png = { workspace = true } diff --git a/examples/triangle-v1_3/Cargo.toml b/examples/triangle-v1_3/Cargo.toml index e6a5690c..147d1b35 100644 --- a/examples/triangle-v1_3/Cargo.toml +++ b/examples/triangle-v1_3/Cargo.toml @@ -7,6 +7,9 @@ publish = false [[bin]] name = "triangle-v1_3" path = "main.rs" +test = false +bench = false +doc = false [dependencies] vulkano = { workspace = true } diff --git a/examples/triangle/Cargo.toml b/examples/triangle/Cargo.toml index 1b35e78a..faac7819 100644 --- a/examples/triangle/Cargo.toml +++ b/examples/triangle/Cargo.toml @@ -7,6 +7,9 @@ publish = false [[bin]] name = "triangle" path = "main.rs" +test = false +bench = false +doc = false [dependencies] # The `vulkano` crate is the main crate that you must use to use Vulkan.