Skip to content

Commit 7eb501d

Browse files
tarcierinewpavlov
andauthored
universal-hash v0.5.0-pre (#1051)
Co-authored-by: Артём Павлов [Artyom Pavlov] <newpavlov@gmail.com>
1 parent 25614e2 commit 7eb501d

File tree

7 files changed

+123
-134
lines changed

7 files changed

+123
-134
lines changed

.github/workflows/universal-hash.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
strategy:
2323
matrix:
2424
rust:
25-
- 1.41.0 # MSRV
25+
- 1.56.0 # MSRV
2626
- stable
2727
target:
2828
- thumbv7em-none-eabi
@@ -50,7 +50,7 @@ jobs:
5050
strategy:
5151
matrix:
5252
rust:
53-
- 1.41.0 # MSRV
53+
- 1.56.0 # MSRV
5454
- stable
5555
steps:
5656
- uses: actions/checkout@v2

Cargo.lock

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# RustCrypto: Traits
22

3-
[![Project Chat][chat-image]][chat-link] ![Apache2/MIT licensed][license-image] [![dependency status][deps-image]][deps-link]
3+
[![Project Chat][chat-image]][chat-link] ![Apache2/MIT licensed][license-image] [![dependency status][deps-image]][deps-link]
44

55
Collection of traits which describe functionality of cryptographic primitives.
66

@@ -17,7 +17,7 @@ Collection of traits which describe functionality of cryptographic primitives.
1717
| [`kem`] | [Key encapsulation mechanism] | [![crates.io](https://img.shields.io/crates/v/kem.svg)](https://crates.io/crates/kem) | [![Documentation](https://docs.rs/kem/badge.svg)](https://docs.rs/kem) | ![MSRV 1.56][msrv-1.56] |
1818
| [`password-hash`] | [Password hashing] | [![crates.io](https://img.shields.io/crates/v/password-hash.svg)](https://crates.io/crates/password-hash) | [![Documentation](https://docs.rs/password-hash/badge.svg)](https://docs.rs/password-hash) | ![MSRV 1.57][msrv-1.57] |
1919
| [`signature`] | [Digital signature] | [![crates.io](https://img.shields.io/crates/v/signature.svg)](https://crates.io/crates/signature) | [![Documentation](https://docs.rs/signature/badge.svg)](https://docs.rs/signature) | ![MSRV 1.41][msrv-1.41] |
20-
| [`universal‑hash`] | [Universal hash function] | [![crates.io](https://img.shields.io/crates/v/universal-hash.svg)](https://crates.io/crates/universal-hash) | [![Documentation](https://docs.rs/universal-hash/badge.svg)](https://docs.rs/universal-hash) | ![MSRV 1.41][msrv-1.41] |
20+
| [`universal‑hash`] | [Universal hash function] | [![crates.io](https://img.shields.io/crates/v/universal-hash.svg)](https://crates.io/crates/universal-hash) | [![Documentation](https://docs.rs/universal-hash/badge.svg)](https://docs.rs/universal-hash) | ![MSRV 1.56][msrv-1.56] |
2121

2222
### Additional Crates
2323

crypto/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ elliptic-curve = { version = "0.12", optional = true, path = "../elliptic-curve"
2222
mac = { version = "0.11", package = "crypto-mac", optional = true }
2323
password-hash = { version = "0.4", optional = true, path = "../password-hash" }
2424
signature = { version = "1.5", optional = true, default-features = false, path = "../signature" }
25-
universal-hash = { version = "0.4", optional = true, path = "../universal-hash" }
25+
universal-hash = { version = "=0.5.0-pre", optional = true, path = "../universal-hash" }
2626

2727
[features]
2828
std = [

universal-hash/Cargo.toml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,24 @@
11
[package]
22
name = "universal-hash"
3-
version = "0.4.1" # Also update html_root_url in lib.rs when bumping this
3+
version = "0.5.0-pre"
4+
description = "Traits which describe the functionality of universal hash functions (UHFs)"
45
authors = ["RustCrypto Developers"]
56
license = "MIT OR Apache-2.0"
6-
description = "Trait for universal hash functions"
7+
edition = "2021"
8+
rust-version = "1.56"
9+
readme = "README.md"
710
documentation = "https://docs.rs/universal-hash"
811
repository = "https://github.com/RustCrypto/traits"
912
keywords = ["crypto", "mac"]
1013
categories = ["cryptography", "no-std"]
11-
readme = "README.md"
12-
edition = "2018"
1314

1415
[dependencies]
15-
generic-array = "0.14"
16+
crypto-common = { version = "0.1.6", path = "../crypto-common" }
1617
subtle = { version = "=2.4", default-features = false }
1718

1819
[features]
19-
std = []
20+
std = ["crypto-common/std"]
2021

2122
[package.metadata.docs.rs]
2223
all-features = true
24+
rustdoc-args = ["--cfg", "docsrs"]

universal-hash/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@
77
[![Project Chat][chat-image]][chat-link]
88
[![Build Status][build-image]][build-link]
99

10-
Traits which define functionality of [universal hash functions].
10+
Traits which describe functionality of [universal hash functions] (UHFs).
1111

1212
See [RustCrypto/universal-hashes] for implementations which use this trait.
1313

1414
[Documentation][docs-link]
1515

1616
## Minimum Supported Rust Version
1717

18-
Rust **1.41** or higher.
18+
Rust **1.56** or higher.
1919

2020
Minimum supported Rust version can be changed in the future, but it will be
2121
done with a minor version bump.
@@ -47,7 +47,7 @@ dual licensed as above, without any additional terms or conditions.
4747
[docs-image]: https://docs.rs/universal-hash/badge.svg
4848
[docs-link]: https://docs.rs/universal-hash/
4949
[license-image]: https://img.shields.io/badge/license-Apache2.0/MIT-blue.svg
50-
[rustc-image]: https://img.shields.io/badge/rustc-1.41+-blue.svg
50+
[rustc-image]: https://img.shields.io/badge/rustc-1.56+-blue.svg
5151
[chat-image]: https://img.shields.io/badge/zulip-join_chat-blue.svg
5252
[chat-link]: https://rustcrypto.zulipchat.com/#narrow/stream/260051-universal-hashes
5353
[build-image]: https://github.com/RustCrypto/traits/workflows/universal-hash/badge.svg?branch=master&event=push

0 commit comments

Comments
 (0)