From 3664c079f7e84c99a2c57160b8a01d353868d910 Mon Sep 17 00:00:00 2001 From: marc0246 <40955683+marc0246@users.noreply.github.com> Date: Tue, 31 Oct 2023 10:44:46 +0100 Subject: [PATCH] Remove superfluous dev-dependencies (#2389) --- Cargo.toml | 2 -- vulkano/Cargo.toml | 4 ---- vulkano/autogen/formats.rs | 6 ++---- 3 files changed, 2 insertions(+), 10 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 42cffc6c..971cc0c0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -32,7 +32,6 @@ ahash = "0.8" # https://github.com/KhronosGroup/Vulkan-Headers/commits/main/registry/vk.xml ash = "0.37.3" bytemuck = "1.9" -cgmath = "0.18" core-graphics-types = "0.1" crossbeam-queue = "0.3" half = "2.0" @@ -41,7 +40,6 @@ indexmap = "2.0" libloading = "0.8" objc = "0.2.5" once_cell = "1.17" -nalgebra = "0.32" parking_lot = "0.12" proc-macro2 = "1.0" proc-macro-crate = "1.2" diff --git a/vulkano/Cargo.toml b/vulkano/Cargo.toml index aeacb224..c9a10ddc 100644 --- a/vulkano/Cargo.toml +++ b/vulkano/Cargo.toml @@ -44,10 +44,6 @@ serde = { workspace = true, features = ["derive"] } serde_json = { workspace = true } vk-parse = { workspace = true } -[dev-dependencies] -cgmath = { workspace = true } -nalgebra = { workspace = true } - [features] default = ["macros"] macros = ["dep:vulkano-macros"] diff --git a/vulkano/autogen/formats.rs b/vulkano/autogen/formats.rs index 1d840d79..4d419ab9 100644 --- a/vulkano/autogen/formats.rs +++ b/vulkano/autogen/formats.rs @@ -565,16 +565,14 @@ fn formats_output(members: &[FormatMember]) -> TokenStream { /// /// For [`cgmath`]: /// - /// ``` - /// # use vulkano::type_for_format; + /// ```ignore /// let pixel: type_for_format!(cgmath, R32G32B32A32_SFLOAT); /// pixel = cgmath::Vector4::new(1.0f32, 0.0, 0.0, 1.0); /// ``` /// /// For [`nalgebra`]: /// - /// ``` - /// # use vulkano::type_for_format; + /// ```ignore /// let pixel: type_for_format!(nalgebra, R32G32B32A32_SFLOAT); /// pixel = nalgebra::vector![1.0f32, 0.0, 0.0, 1.0]; /// ```