Skip to content

Commit

Permalink
Elaborate on acceptable licenses.
Browse files Browse the repository at this point in the history
  • Loading branch information
davidtwco committed Mar 7, 2019
1 parent 8e4bdd7 commit aa6795a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions procedures/crates.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,9 @@ is some uniformity across the compiler and out-of-tree crates:
### What is required of an out-of-tree crate?
It is required that out-of-tree crates must:

- Be dual-licensed with Apache 2.0 and MIT (as the compiler is) unless otherwise
appropriate (ports of code from other project, etc).
- Be dual-licensed with Apache 2.0 and MIT (as the compiler is) or
[any other license][licenses] accepted by tidy, unless otherwise appropriate (ports of code
from other project, etc).
- Abide by Rust's code of conduct.
- Specify that the crate is maintained by the Rust compiler team and any appropriate working groups.
- In particular, this should detail the expected level of maintenance and stability for any
Expand All @@ -75,7 +76,6 @@ It is required that out-of-tree crates must:
- Follow semantic versioning.
- Use `@bors` and `@rust-highfive`.


### Is there a requirement for community infrastructure for an out-of-tree crate?
There is no requirement that community infrastructure (such as Zulip servers/streams) be created for
out-of-tree crates. This may be desirable if an out-of-tree crate gains a large community of
Expand All @@ -89,6 +89,7 @@ request.
Recommendations for working with out-of-tree crates will be documented in the rustc-guide, see
[rust-lang/rustc-guide#285][guide_issue] for progress.

[licenses]: https://github.com/rust-lang/rust/blob/master/src/tools/tidy/src/deps.rs#L10-L19
[guide_issue]: https://github.com/rust-lang/rustc-guide/issues/285

---
Expand Down

0 comments on commit aa6795a

Please sign in to comment.