From 1ee5a01d4b1190e92b3b8d42642d2aa86ed04731 Mon Sep 17 00:00:00 2001 From: Marijn Suijten Date: Thu, 28 Jul 2022 18:48:15 +0200 Subject: [PATCH] ash: Add missing `Apache-2.0` to `Cargo.toml` `license` field We already ship both license files in the published crate, have both licenses listed in the `README`, and even `ash-window` already lists both in `Cargo.toml`. I found this while experimenting with shields.io badges, as there's a special link that scrapes the license straight off of crates.io: https://img.shields.io/crates/l/ash (and many more). This might've been nice to use except that it's outdated until we publish the next release, and doesn't allow a nice link to either `LICENSE-XXX` file that we have now. --- README.md | 2 +- ash/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index df77cf1..3cf318f 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ A very lightweight wrapper around Vulkan [![Documentation](https://docs.rs/ash/badge.svg)](https://docs.rs/ash) [![Build Status](https://github.com/MaikKlein/ash/workflows/CI/badge.svg)](https://github.com/MaikKlein/ash/actions?workflow=CI) [![LICENSE](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE-MIT) -[![LICENSE](https://img.shields.io/badge/license-apache-blue.svg)](LICENSE-APACHE) +[![LICENSE](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](LICENSE-APACHE) [![Join the chat at https://gitter.im/MaikKlein/ash](https://badges.gitter.im/MaikKlein/ash.svg)](https://gitter.im/MaikKlein/ash?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) ## Overview diff --git a/ash/Cargo.toml b/ash/Cargo.toml index 9148186..0c439ca 100644 --- a/ash/Cargo.toml +++ b/ash/Cargo.toml @@ -3,7 +3,7 @@ name = "ash" version = "0.37.0+1.3.219" authors = ["maik klein "] description = "Vulkan bindings for Rust" -license = "MIT" +license = "MIT OR Apache-2.0" repository = "https://github.com/MaikKlein/ash" readme = "../README.md" keywords = ["vulkan", "graphic"]