Skip to content

Commit dc83991

Browse files
committed
Clarify wording of license information in README.
This text historically was copied verbatim from rust-lang/rust's own README [1] with the intention of licensing projects the same as rustc's own license, namely a dual MIT/Apache-2.0 license. The clause about "various BSD-like licenses" isn't actually correct for almost all projects other than rust-lang/rust and the wording around "both" was slightly ambiguous. This commit updates the wording to match more precisely what's in the standard library [2], namely clarifying that there aren't any BSD-like licenses in this repository and that the source is licensable under either license, at your own discretion. [1]: https://github.com/rust-lang/rust/tree/f0fe716dbcbf2363ab8f929325d32a17e51039d0#license [2]: https://github.com/rust-lang/rust/blob/f0fe716dbcbf2363ab8f929325d32a17e51039d0/src/libstd/lib.rs#L5-L9
1 parent b0f3ccd commit dc83991

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

README.md

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,17 @@ This library currently is verified to work on the following platforms:
2828

2929
# License
3030

31-
`stacker` is primarily distributed under the terms of both the MIT license and
32-
the Apache License (Version 2.0), with portions covered by various BSD-like
33-
licenses.
31+
This project is licensed under either of
3432

35-
See LICENSE-APACHE, and LICENSE-MIT for details.
33+
* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or
34+
http://www.apache.org/licenses/LICENSE-2.0)
35+
* MIT license ([LICENSE-MIT](LICENSE-MIT) or
36+
http://opensource.org/licenses/MIT)
37+
38+
at your option.
39+
40+
### Contribution
41+
42+
Unless you explicitly state otherwise, any contribution intentionally submitted
43+
for inclusion in Serde by you, as defined in the Apache-2.0 license, shall be
44+
dual licensed as above, without any additional terms or conditions.

0 commit comments

Comments
 (0)