diff --git a/evercrypt-rs/Cargo.toml b/evercrypt-rs/Cargo.toml index 32adea6..7404ad5 100644 --- a/evercrypt-rs/Cargo.toml +++ b/evercrypt-rs/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "evercrypt" -version = "0.0.10" +version = "0.0.11" authors = ["Franziskus Kiefer "] -edition = "2018" +edition = "2021" license = "MPL-2.0" documentation = "https://www.franziskuskiefer.de/evercrypt-rust" description = "Crypto library using formally verified code from HACL/Evercrypt" @@ -22,7 +22,7 @@ random = ["rand", "rand_core"] serialization = ["serde", "serde_json"] [dependencies] -evercrypt-sys = { version = "0.0.8", path = "../evercrypt-sys" } +evercrypt-sys = { version = "0.0.9", path = "../evercrypt-sys" } aes-gcm = { version = "0.8", optional = true } rand = { version = "0.8", optional = true } rand_core = { version = "0.6", optional = true } diff --git a/evercrypt-rs/README.md b/evercrypt-rs/README.md index 4400f8a..462de33 100644 --- a/evercrypt-rs/README.md +++ b/evercrypt-rs/README.md @@ -4,6 +4,7 @@ [![Build & Test][github-actions-badge]][github-actions-link] [![ARM Build][drone-badge]][drone-link] [![codecov][codecov-badge]][codecov-link] +![Rust Version][rustc-image] High-level [evercrypt](https://github.com/project-everest/hacl-star) bindings crates. @@ -55,3 +56,4 @@ This will also run automatically generated binding tests from bindgen. [drone-link]: https://cloud.drone.io/franziskuskiefer/evercrypt-rust [codecov-badge]: https://img.shields.io/codecov/c/github/franziskuskiefer/evercrypt-rust?style=for-the-badge&token=RO2Q0YTSNY [codecov-link]: https://codecov.io/gh/franziskuskiefer/evercrypt-rust/ +[rustc-image]: https://img.shields.io/badge/rustc-1.56+-blue.svg?style=for-the-badge diff --git a/evercrypt-rs/src/lib.rs b/evercrypt-rs/src/lib.rs index 21ebff6..a105e8a 100644 --- a/evercrypt-rs/src/lib.rs +++ b/evercrypt-rs/src/lib.rs @@ -1,3 +1,5 @@ +#![doc = include_str!("../README.md")] + pub mod aead; pub mod digest; pub mod ecdh; diff --git a/evercrypt-sys/Cargo.toml b/evercrypt-sys/Cargo.toml index 719b201..20a8e69 100644 --- a/evercrypt-sys/Cargo.toml +++ b/evercrypt-sys/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "evercrypt-sys" -version = "0.0.8" +version = "0.0.9" authors = ["Franziskus Kiefer "] -edition = "2018" +edition = "2021" build = "build.rs" categories = ["cryptography", "api-bindings"] links = "evercrypt" diff --git a/evercrypt-sys/README.md b/evercrypt-sys/README.md index 8d74635..1772bda 100644 --- a/evercrypt-sys/README.md +++ b/evercrypt-sys/README.md @@ -3,6 +3,7 @@ ![Maturity Level][maturity-badge] [![Build & Test][github-actions-badge]][github-actions-link] [![ARM Build][drone-badge]][drone-link] +![Rust Version][rustc-image] Rust wrapper for [hacl-star and evercrypt](https://github.com/project-everest/hacl-star/). @@ -37,3 +38,4 @@ The build has only been tested with VisualStudio 2019. [github-actions-link]: https://github.com/franziskuskiefer/evercrypt-rust/actions/workflows/evercrypt-rs.yml?query=branch%3Amain [drone-badge]: https://img.shields.io/drone/build/franziskuskiefer/evercrypt-rust?label=ARM%20BUILD&style=for-the-badge [drone-link]: https://cloud.drone.io/franziskuskiefer/evercrypt-rust +[rustc-image]: https://img.shields.io/badge/rustc-1.56+-blue.svg?style=for-the-badge diff --git a/evercrypt-sys/src/lib.rs b/evercrypt-sys/src/lib.rs index e67cb22..ea0beed 100644 --- a/evercrypt-sys/src/lib.rs +++ b/evercrypt-sys/src/lib.rs @@ -1,5 +1,6 @@ #![allow(non_upper_case_globals)] #![allow(non_camel_case_types)] #![allow(non_snake_case)] +#![doc = include_str!("../README.md")] pub mod evercrypt_bindings;