Unnamed repository; edit this file 'description' to name the repository.
Merge rust-analyzer/text-size#25
25: Add licensing text to README r=matklad a=CAD97 Co-authored-by: Christopher Durham <[email protected]>
bors[bot] 2020-03-22
parent 4bcf23e · parent 1633455 · commit c69d303
-rw-r--r--lib/text-size/README.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/text-size/README.md b/lib/text-size/README.md
index 6887ccf032..482a055fc3 100644
--- a/lib/text-size/README.md
+++ b/lib/text-size/README.md
@@ -8,3 +8,20 @@
A library that provides newtype wrappers for `u32` and `(u32, u32)` for use as text offsets.
See the [docs](https://docs.rs/text_unit/) for more.
+
+## License
+
+Licensed under either of
+
+ * Apache License, Version 2.0
+ ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
+ * MIT license
+ ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)
+
+at your option.
+
+## Contribution
+
+Unless you explicitly state otherwise, any contribution intentionally submitted
+for inclusion in the work by you, as defined in the Apache-2.0 license, shall be
+dual licensed as above, without any additional terms or conditions.