fix: Use license instead of license-file in Cargo.toml (#464)

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ı <burakvar@amazon.co.uk>
This commit is contained in:
Burak Varlı
2025-08-22 15:29:28 +01:00
committed by GitHub
parent 5c71debcb9
commit a53c7c8192

View File

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