Skip to content

Commit a53c7c8

Browse files
authored
fix: Use license instead of license-file in Cargo.toml (microsoft#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>
1 parent 5c71deb commit a53c7c8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ name = "regorus"
99
description = "A fast, lightweight Rego (OPA policy language) interpreter"
1010
version = "0.5.0"
1111
edition = "2021"
12-
license-file = "LICENSE"
12+
license = "MIT"
1313
repository = "https://github.com/microsoft/regorus"
1414
keywords = ["interpreter", "no_std", "opa", "policy-as-code", "rego"]
1515

0 commit comments

Comments
 (0)