diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..30e82df7 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,12 @@ +language: rust + +matrix: + include: + - rust: 1.27.0 + - rust: stable + - rust: nightly + +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..f52dcd66 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. @@ -31,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 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;