Skip to content

Commit 3746049

Browse files
authored
Change license metadata (#318)
The Cargo book has a section that describes how these fields are supposed to be used: <https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields> It says that the `license-file` key is for the case where "a package is using a nonstandard license". Since our license is MIT, we should use the `license` key (like almost all of the Cargo ecosystem).
1 parent 5324e19 commit 3746049

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

crates/twirp-build/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ categories = [
1111
"asynchronous",
1212
]
1313
repository = "https://github.com/github/twirp-rs"
14-
license-file = "./LICENSE"
14+
license = "MIT"
1515

1616
[dependencies]
1717
prost-build = "0.14"

crates/twirp/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ categories = [
1111
"asynchronous",
1212
]
1313
repository = "https://github.com/github/twirp-rs"
14-
license-file = "./LICENSE"
14+
license = "MIT"
1515

1616
[features]
1717
test-support = []

0 commit comments

Comments
 (0)