-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
README: Document our license-list version, parens issue, and license
The "at your option" language is modeled on Rust's from rust-lang/rust@00c856c0 (Update license, add license boilerplate to most files, 2012-12-03), although I've made it more compact by using Markdown for the upstream license links. I'd rather leave caller bugs to the issue tracker, but the paren bug is an important issue for folks writing license expressions (i.e. all crate authors), so I'm calling it out on our README until we get it fixed.
- Loading branch information
Showing
2 changed files
with
18 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,17 @@ | ||
This crate validates license strings as [SPDX 2.1 license expressions](https://spdx.org/spdx-specification-21-web-version#h.jxpfx0ykyb60). | ||
# license-exprs | ||
|
||
This crate validates [SPDX 2.1 license expressions][SPDX-license-expressions] using short identifiers from the [SPDX 2.4 License List][SPDX-license-list]. | ||
|
||
## Limitations | ||
|
||
Parentheses are [not currently supported][parens]. | ||
|
||
## License | ||
|
||
Licensed under the [Apache License, Version 2.0][Apache-2.0] ([`LICENSE-APACHE`](LICENSE-APACHE)) or the [MIT license][MIT] ([`LICENSE-MIT`](LICENSE-MIT)), at your option. | ||
|
||
[Apache-2.0]: https://www.apache.org/licenses/LICENSE-2.0 | ||
[MIT]: https://opensource.org/licenses/MIT | ||
[parens]: https://github.com/rust-lang-nursery/license-exprs/issues/3 | ||
[SPDX-license-expressions]: https://spdx.org/spdx-specification-21-web-version#h.jxpfx0ykyb60 | ||
[SPDX-license-list]: https://github.com/spdx/license-list-data/tree/v2.4 |