From 9420efd8df072860730839a043f2f0dd6bc4858d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Burak=20Varl=C4=B1?= Date: Fri, 22 Aug 2025 12:50:11 +0100 Subject: [PATCH] Use `license` instead of `license-file` in `Cargo.toml` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Since Regorus is MIT-licensed, it would be better to specify `license = "MIT"` rather than using `licene-file` to point to the MIT license file. Some tools do not support parsing of `license-file`, for example crates.io classifies Regorus' license as "non-standard": $ curl -s https://crates.io/api/v1/crates/regorus/0.4.0 | jq .version.license "non-standard" Using `license` would provide better compatability with various tools. Signed-off-by: Burak Varlı --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 52b01cc4..b64810df 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,7 +9,7 @@ name = "regorus" description = "A fast, lightweight Rego (OPA policy language) interpreter" version = "0.5.0" edition = "2021" -license-file = "LICENSE" +license = "MIT" repository = "https://github.com/microsoft/regorus" keywords = ["interpreter", "no_std", "opa", "policy-as-code", "rego"]