From 24a6cc8526d0eff39f65571ab6f730f8487201db Mon Sep 17 00:00:00 2001 From: Arnaud Ferraris Date: Wed, 29 Jan 2025 17:19:25 +0100 Subject: [PATCH] Ensure license file is published with each crate As the license file is present at the root of the repository, it isn't part of any crate on crates.io, as those lie in subfolders. Ensure this file is published by telling cargo where to find it. --- Cargo.toml | 1 + include_dir/Cargo.toml | 1 + macros/Cargo.toml | 1 + 3 files changed, 3 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 165c5a9a0c..b7f5eeee59 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,6 +6,7 @@ resolver = "2" edition = "2021" rust-version = "1.64" license = "MIT" +license-file = "LICENSE" readme = "README.md" version = "0.7.4" authors = ["Michael Bryan "] diff --git a/include_dir/Cargo.toml b/include_dir/Cargo.toml index fe9b921685..96b0789b22 100644 --- a/include_dir/Cargo.toml +++ b/include_dir/Cargo.toml @@ -6,6 +6,7 @@ categories = ["development-tools", "web-programming", "game-engines"] authors.workspace = true edition.workspace = true license.workspace = true +license-file.workspace = true readme.workspace = true repository.workspace = true rust-version.workspace = true diff --git a/macros/Cargo.toml b/macros/Cargo.toml index 8990fbc7e4..4390f444ec 100644 --- a/macros/Cargo.toml +++ b/macros/Cargo.toml @@ -4,6 +4,7 @@ description = "The procedural macro used by include_dir" authors.workspace = true edition.workspace = true license.workspace = true +license-file.workspace = true readme.workspace = true repository.workspace = true rust-version.workspace = true