From e9c345c3aff5d3703006c376d1d7b6a05d367eb3 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Tue, 3 Nov 2020 14:52:00 -0800 Subject: [PATCH] Make licensing more explicit --- Cargo.toml | 2 +- README.md | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 9378604f6..67a71a53c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,7 +5,7 @@ documentation = "https://docs.rs/num" homepage = "https://github.com/rust-num/num" keywords = ["mathematics", "numerics", "bignum"] categories = [ "algorithms", "data-structures", "science", "no-std" ] -license = "MIT/Apache-2.0" +license = "MIT OR Apache-2.0" repository = "https://github.com/rust-num/num" name = "num" version = "0.3.0" diff --git a/README.md b/README.md index 13b58f889..0ba79e01a 100644 --- a/README.md +++ b/README.md @@ -74,6 +74,21 @@ The `num` crate as a whole is tested for rustc 1.31 and greater. The `num-traits`, `num-integer`, and `num-iter` crates are individually tested for rustc 1.8 and greater, if you require such older compatibility. +## License + +Licensed under either of + + * [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0) + * [MIT license](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. + [`num-bigint`]: https://github.com/rust-num/num-bigint [bigint-c]: https://crates.io/crates/num-bigint