From 6f8ac7adfd9be53b10c81fb9e61e48738e69460e Mon Sep 17 00:00:00 2001 From: newpavlov Date: Mon, 3 Dec 2018 12:57:20 +0300 Subject: [PATCH 1/3] post-transfer changes --- .travis.yml | 13 +++++++++++++ Cargo.toml | 10 +++++----- README.md | 3 ++- src/lib.rs | 2 ++ 4 files changed, 22 insertions(+), 6 deletions(-) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..03048339 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,13 @@ +language: rust + +matrix: + include: + - rust: 1.27.0 + - rust: stable + - rust: nightly + - rust: stable + +script: + - cargo test --verbose --all --release + +cache: cargo diff --git a/Cargo.toml b/Cargo.toml index 1cb0ce3f..b8dde5a1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,13 +1,13 @@ [package] name = "rsa" version = "0.1.0" -authors = ["dignifiedquire "] -description = "RSA implementation in Rust" +authors = ["RustCrypto Developers", "dignifiedquire "] +description = "Pure Rust RSA implementation" license = "MIT OR Apache-2.0" -homepage = "https://github.com/dignifiedquire/rust-rsa" -repository = "https://github.com/dignifiedquire/rust-rsa" - +documentation = "https://docs.rs/rsa" +repository = "https://github.com/RustCrypto/RSA" keywords = ["rsa", "encryption", "security", "crypto"] +categories = ["cryptography"] [dependencies] num-bigint-dig = { version = "0.2", features = ["rand", "i128", "u64_digit"] } diff --git a/README.md b/README.md index 4ecfc8c3..b5f70698 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # RSA +[![crates.io](https://img.shields.io/crates/v/rsa.svg)](https://crates.io/crates/rsa) [![Documentation](https://docs.rs/rsa/badge.svg)](https://docs.rs/rsa) [![Build Status](https://travis-ci.org/RustCrypto/rsa.svg?branch=master)](https://travis-ci.org/RustCrypto/rsa) [![dependency status](https://deps.rs/repo/github/RustCrypto/rsa/status.svg)](https://deps.rs/repo/github/RustCrypto/rsa) -> A portable RSA implementation in Rust. +A portable RSA implementation in pure Rust. :warning: **WARNING:** This library has __not__ been audited, so please do not use for production code. diff --git a/src/lib.rs b/src/lib.rs index be427bc5..9b9a789d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,3 +1,5 @@ +#![doc(html_logo_url = + "https://raw.githubusercontent.com/RustCrypto/meta/master/logo_small.png")] extern crate num_bigint_dig as num_bigint; extern crate num_integer; extern crate num_traits; From 7f6c59616fd9c6e900e9cbe51b1f266f5ca54d99 Mon Sep 17 00:00:00 2001 From: newpavlov Date: Mon, 3 Dec 2018 13:02:15 +0300 Subject: [PATCH 2/3] fix badges and CI --- .travis.yml | 1 - README.md | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 03048339..30e82df7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,7 +5,6 @@ matrix: - rust: 1.27.0 - rust: stable - rust: nightly - - rust: stable script: - cargo test --verbose --all --release diff --git a/README.md b/README.md index b5f70698..6ea9fd7b 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # RSA -[![crates.io](https://img.shields.io/crates/v/rsa.svg)](https://crates.io/crates/rsa) [![Documentation](https://docs.rs/rsa/badge.svg)](https://docs.rs/rsa) [![Build Status](https://travis-ci.org/RustCrypto/rsa.svg?branch=master)](https://travis-ci.org/RustCrypto/rsa) [![dependency status](https://deps.rs/repo/github/RustCrypto/rsa/status.svg)](https://deps.rs/repo/github/RustCrypto/rsa) +[![crates.io](https://img.shields.io/crates/v/rsa.svg)](https://crates.io/crates/rsa) [![Documentation](https://docs.rs/rsa/badge.svg)](https://docs.rs/rsa) [![Build Status](https://travis-ci.org/RustCrypto/RSA.svg?branch=master)](https://travis-ci.org/RustCrypto/RSA) [![dependency status](https://deps.rs/repo/github/RustCrypto/RSA/status.svg)](https://deps.rs/repo/github/RustCrypto/RSA) A portable RSA implementation in pure Rust. From 2a938817167f14e9416c00f97c844b924821d7d1 Mon Sep 17 00:00:00 2001 From: newpavlov Date: Mon, 3 Dec 2018 13:21:28 +0300 Subject: [PATCH 3/3] improve license section --- README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6ea9fd7b..f52dcd66 100644 --- a/README.md +++ b/README.md @@ -32,4 +32,15 @@ There will be three phases before `1.0` :ship: can be released. ## License -MIT or Apache 2.0 +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. \ No newline at end of file