From ac8b977419e8a73e05808295937d4dfbae271fce Mon Sep 17 00:00:00 2001 From: Hannes Date: Thu, 13 May 2021 20:23:43 +0200 Subject: [PATCH] Added batches --- Cargo.toml | 3 ++- README.md | 6 +++++- src/lib.rs | 4 ++++ 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index bed4afc..c5e0963 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,8 +6,9 @@ homepage = "https://github.com/Decentrailzed-Communication-System/double-ratchet repository = "https://github.com/Decentrailzed-Communication-System/double-ratchet-2" readme = "README.md" keywords = ["double-ratchet", "crypto", "cryptography", "signal"] -version = "0.1.1" +version = "0.1.2" edition = "2018" +license = "MIT" license-file = "LICENSE" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/README.md b/README.md index f133a0f..e70e837 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ # double-ratchet-2 -![[crate](https://crates.io/crates/double-ratchet-2)](https://img.shields.io/crates/v/double-ratchet-2) +[![Crate](https://img.shields.io/crates/v/double-ratchet-2)](https://crates.io/crates/double-ratchet-2) +[![License](https://img.shields.io/github/license/Decentrailzed-Communication-System/double-ratchet-2)](https://github.com/Decentrailzed-Communication-System/double-ratchet-2/blob/main/LICENSE) +[![Actions](https://img.shields.io/github/workflow/status/Decentrailzed-Communication-System/double-ratchet-2/Rust)](https://github.com/Decentrailzed-Communication-System/double-ratchet-2/actions) Implementation of the double ratchet system/encryption as specified by [Signal][1]. @@ -94,3 +96,5 @@ TODO: [1]: https://signal.org/docs/specifications/doubleratchet/ [2]: https://signal.org/docs/specifications/doubleratchet/#recommended-cryptographic-algorithms [3]: https://signal.org/docs/specifications/doubleratchet/#double-ratchet-with-header-encryption + +License: MIT diff --git a/src/lib.rs b/src/lib.rs index 0739fec..d1b4b8e 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,3 +1,7 @@ +//! [![Crate](https://img.shields.io/crates/v/double-ratchet-2)](https://crates.io/crates/double-ratchet-2) +//! [![License](https://img.shields.io/github/license/Decentrailzed-Communication-System/double-ratchet-2)](https://github.com/Decentrailzed-Communication-System/double-ratchet-2/blob/main/LICENSE) +//! [![Actions](https://img.shields.io/github/workflow/status/Decentrailzed-Communication-System/double-ratchet-2/Rust)](https://github.com/Decentrailzed-Communication-System/double-ratchet-2/actions) +//! //! Implementation of the double ratchet system/encryption as specified by [Signal][1]. //! //! The implementation follows the cryptographic recommendations provided by [Signal][2].