Remove superfluous dev-dependencies (#2389)

This commit is contained in:
marc0246 2023-10-31 10:44:46 +01:00 committed by GitHub
parent 0978b296a4
commit 3664c079f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 10 deletions

View File

@ -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"

View File

@ -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"]

View File

@ -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];
/// ```