summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2020-01-14 10:33:20 -0800
committerAlex Crichton <alex@alexcrichton.com>2020-01-14 10:33:56 -0800
commit6b749ffc6f4dfaf15665705e843751ecf43071d9 (patch)
tree80dccf995e2bd46ac364a777c292fd883d8b3f8b /README.md
parent7ef655935a06b42a360e8abc01bd396d82c7e9b2 (diff)
downloadssh2-rs-6b749ffc6f4dfaf15665705e843751ecf43071d9.zip
Clarify licenses
They've been present in `Cargo.toml` forever, add dedicated files as well
Diffstat (limited to 'README.md')
-rw-r--r--README.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/README.md b/README.md
index a5827ef..cdd7e90 100644
--- a/README.md
+++ b/README.md
@@ -25,3 +25,20 @@ This library depends on OpenSSL. To get OpenSSL working follow the
Starting with version `0.4` of `ssh2`, you can enable the `vendored-openssl` feature
to have `libssh2` built against a statically built version of openssl as [described
here](https://docs.rs/openssl/0.10.24/openssl/#vendored)
+
+# License
+
+This project is 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 this project by you, as defined in the Apache-2.0 license,
+shall be dual licensed as above, without any additional terms or conditions.