-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Meaning of multiple licenses #2174
Comments
crates.io currently uses https://crates.io/crates/license-exprs which I believe allows clarifying this ambiguity |
Unfortunately https://crates.io/crates/license-exprs doesn’t have a documentation or repository link, I don’t even know how to download the source to reverse-engineer what it does. |
Sure, but you can google "withoutboats license-exprs" and get https://github.com/withoutboats/license-exprs :) |
Cool. ehuss/license-exprs#2. Perhaps this syntax is worth mentioning on http://doc.crates.io/manifest.html#package-metadata? |
The syntax is specified in Appendix IV of the SPDX 2.0 standard. My crate has a few bugs: EDIT: |
I'd like to note that the It would be a very good idea to try to deprecate the non-standard use of |
#2039 related/duplicate issue |
@alexcrichton: It seems like we can quickly remove any Cargo documentation suggesting to use the deprecated notation as per @jmesmon's comment. Can we expedite that fix? |
An appropriate link to replace the wording with the deprecated notation would be https://github.com/david-a-wheeler/spdx-tutorial/blob/master/README.md#spdx-license-expressions |
|
As there hasn't been any activity here in over 6 months I've marked this as stale and if no further activity happens for 7 days I will close it. I'm a bot so this may be in error! If this issue should remain open, could someone (the author, a team member, or any interested party) please comment to that effect? The team would be especially grateful if such a comment included details such as:
Thank you for contributing! (The cargo team is currently evaluating the use of Stale bot, and using #6035 as the tracking issue to gather feedback.) If you're reading this comment from the distant future, fear not if this was closed automatically. If you believe it's still an issue please leave a comment and a team member can reopen this issue. Opening a new issue is also acceptable! |
Still an issue |
misclick |
As such, let's close this as duplicate of #2039, which is tracking that last change (#2039 (comment)). |
http://doc.crates.io/manifest.html#package-metadata says:
But what is the meaning of having multiple licenses?
MIT / Apache-2.0
is often use to express a "dual-license" like Rust itself. My understanding is that the user chooses which one to apply.Now I’m publishing https://github.com/servo/rust-egl on crates.io. Some files have an Apache-2 license headers, others something that looks like MIT. So different files have different requirements. This is sort of "this license and this license", where Rust is "that one or that one".
Is there a way to express this difference in the
license
field ofCargo.toml
? Should there be?CC @larsbergstrom
The text was updated successfully, but these errors were encountered: