From 4133a3bf6339178c25ed78a57e795274d774f019 Mon Sep 17 00:00:00 2001 From: Kevin Ji <1146876+kevinji@users.noreply.github.com> Date: Fri, 18 Aug 2023 07:36:49 -0400 Subject: [PATCH] Use `OR` operator in Cargo.toml `license` field (#2293) The use of `/` is deprecated, per the Cargo reference: https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields --- vulkano-macros/Cargo.toml | 2 +- vulkano-shaders/Cargo.toml | 2 +- vulkano-util/Cargo.toml | 2 +- vulkano-win/Cargo.toml | 2 +- vulkano/Cargo.toml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/vulkano-macros/Cargo.toml b/vulkano-macros/Cargo.toml index edf8d3d2..c601c3e2 100644 --- a/vulkano-macros/Cargo.toml +++ b/vulkano-macros/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" authors = ["The vulkano contributors"] repository = "https://github.com/vulkano-rs/vulkano" description = "Macros used by Vulkano" -license = "MIT/Apache-2.0" +license = "MIT OR Apache-2.0" documentation = "https://docs.rs/vulkano" homepage = "https://vulkano.rs" publish = true diff --git a/vulkano-shaders/Cargo.toml b/vulkano-shaders/Cargo.toml index 07b5ceb4..e16a990c 100644 --- a/vulkano-shaders/Cargo.toml +++ b/vulkano-shaders/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" authors = ["Pierre Krieger ", "The vulkano contributors"] repository = "https://github.com/vulkano-rs/vulkano" description = "Shaders rust code generation macro" -license = "MIT/Apache-2.0" +license = "MIT OR Apache-2.0" documentation = "https://docs.rs/vulkano" homepage = "https://vulkano.rs" keywords = ["vulkan", "bindings", "graphics", "gpu", "rendering"] diff --git a/vulkano-util/Cargo.toml b/vulkano-util/Cargo.toml index bf2e88fc..3dfb6e36 100644 --- a/vulkano-util/Cargo.toml +++ b/vulkano-util/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" authors = ["The vulkano contributors"] repository = "https://github.com/vulkano-rs/vulkano" description = "Utility functionality to make usage of Vulkano easier" -license = "MIT/Apache-2.0" +license = "MIT OR Apache-2.0" documentation = "https://docs.rs/vulkano" homepage = "https://vulkano.rs" keywords = ["vulkan", "bindings", "graphics", "gpu", "rendering"] diff --git a/vulkano-win/Cargo.toml b/vulkano-win/Cargo.toml index 22ccc998..61feeff8 100644 --- a/vulkano-win/Cargo.toml +++ b/vulkano-win/Cargo.toml @@ -8,7 +8,7 @@ authors = [ ] repository = "https://github.com/vulkano-rs/vulkano" description = "Link between vulkano and winit" -license = "MIT/Apache-2.0" +license = "MIT OR Apache-2.0" documentation = "https://docs.rs/vulkano" homepage = "https://vulkano.rs" keywords = ["vulkan", "bindings", "graphics", "gpu", "rendering"] diff --git a/vulkano/Cargo.toml b/vulkano/Cargo.toml index ecd094d3..70d6fefc 100644 --- a/vulkano/Cargo.toml +++ b/vulkano/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" authors = ["Pierre Krieger ", "The vulkano contributors"] repository = "https://github.com/vulkano-rs/vulkano" description = "Safe wrapper for the Vulkan graphics API" -license = "MIT/Apache-2.0" +license = "MIT OR Apache-2.0" documentation = "https://docs.rs/vulkano" homepage = "https://vulkano.rs" keywords = ["vulkan", "bindings", "graphics", "gpu", "rendering"]