Skip to content

Commit

Permalink
README: Document our license-list version, parens issue, and license
Browse files Browse the repository at this point in the history
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
wking committed Jan 11, 2018
1 parent 2cf5878 commit 3514161
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ name = "license-exprs"
version = "1.3.0"
authors = ["Without Boats <woboats@gmail.com>"]
license = "Apache-2.0 OR MIT"
description = "Validate SPDX 2.0 license expressions."
description = "Validate SPDX 2.1 license expressions using SPDX License List 2.4 identifiers."
repository = "https://github.com/withoutboats/license-exprs"
18 changes: 17 additions & 1 deletion README.md
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

0 comments on commit 3514161

Please sign in to comment.