From 3a6a14370547fc9f84d59db44f4983e65abb61cc Mon Sep 17 00:00:00 2001 From: Tony Arcieri Date: Fri, 29 Dec 2023 18:56:51 -0700 Subject: [PATCH] block-padding v0.4.0-pre.1 (#1000) --- Cargo.lock | 2 +- block-padding/Cargo.toml | 5 +++-- block-padding/README.md | 40 ++++++++++++++++++++++++++++++++++++++++ inout/Cargo.toml | 2 +- 4 files changed, 45 insertions(+), 4 deletions(-) create mode 100644 block-padding/README.md diff --git a/Cargo.lock b/Cargo.lock index 99cd69e1..97ee0abf 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -20,7 +20,7 @@ dependencies = [ [[package]] name = "block-padding" -version = "0.4.0-pre" +version = "0.4.0-pre.1" dependencies = [ "hybrid-array 0.2.0-pre.6 (registry+https://github.com/rust-lang/crates.io-index)", ] diff --git a/block-padding/Cargo.toml b/block-padding/Cargo.toml index 227b0483..8af142f6 100644 --- a/block-padding/Cargo.toml +++ b/block-padding/Cargo.toml @@ -1,15 +1,16 @@ [package] name = "block-padding" -version = "0.4.0-pre" +version = "0.4.0-pre.1" description = "Padding and unpadding of messages divided into blocks." authors = ["RustCrypto Developers"] license = "MIT OR Apache-2.0" edition = "2021" -rust-version = "1.56" +rust-version = "1.65" documentation = "https://docs.rs/block-padding" repository = "https://github.com/RustCrypto/utils" keywords = ["padding", "pkcs7", "ansix923", "iso7816"] categories = ["cryptography", "no-std"] +readme = "README.md" [dependencies] hybrid-array = "=0.2.0-pre.6" diff --git a/block-padding/README.md b/block-padding/README.md new file mode 100644 index 00000000..3f332588 --- /dev/null +++ b/block-padding/README.md @@ -0,0 +1,40 @@ +# [RustCrypto]: Block Padding + +[![crate][crate-image]][crate-link] +[![Docs][docs-image]][docs-link] +[![Build Status][build-image]][build-link] +![Apache2/MIT licensed][license-image] +![Rust Version][rustc-image] +[![Project Chat][chat-image]][chat-link] + +Padding and unpadding of messages divided into blocks. + +## 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. + +[//]: # (badges) + +[crate-image]: https://img.shields.io/crates/v/block-padding.svg +[crate-link]: https://crates.io/crates/block-padding +[docs-image]: https://docs.rs/block-padding/badge.svg +[docs-link]: https://docs.rs/block-padding/ +[license-image]: https://img.shields.io/badge/license-Apache2.0/MIT-blue.svg +[rustc-image]: https://img.shields.io/badge/rustc-1.65+-blue.svg +[chat-image]: https://img.shields.io/badge/zulip-join_chat-blue.svg +[chat-link]: https://rustcrypto.zulipchat.com/#narrow/stream/260052-utils +[build-image]: https://github.com/RustCrypto/utils/workflows/block-padding/badge.svg?branch=master&event=push +[build-link]: https://github.com/RustCrypto/utils/actions/workflows/block-padding.yml + +[//]: # (general links) + +[RustCrypto]: https://github.com/rustcrypto diff --git a/inout/Cargo.toml b/inout/Cargo.toml index b406a70c..6c97a544 100644 --- a/inout/Cargo.toml +++ b/inout/Cargo.toml @@ -11,7 +11,7 @@ repository = "https://github.com/RustCrypto/utils" keywords = ["custom-reference"] [dependencies] -block-padding = { version = "0.4.0-pre", path = "../block-padding", optional = true } +block-padding = { version = "=0.4.0-pre.1", path = "../block-padding", optional = true } hybrid-array = "=0.2.0-pre.6" [features]