Skip to content

Commit

Permalink
Cargo.lock: bump dependencies (#1425)
Browse files Browse the repository at this point in the history
Upgrades the following dependencies:

$ cargo update
    Updating git repository `https://github.com/RustCrypto/utils.git`
   708aa72..cc77203             -> origin/HEAD
    Updating crates.io index
    Updating async-trait v0.1.74 -> v0.1.75
    Updating block-buffer v0.11.0-pre (https://github.com/RustCrypto/utils.git#708aa72b) -> #cc772039
    Updating block-padding v0.4.0-pre (https://github.com/RustCrypto/utils.git#708aa72b) -> #cc772039
    Updating byteorder v1.4.3 -> v1.5.0
 Downgrading cc v1.0.84 -> v1.0.83
    Updating hybrid-array v0.2.0-pre.5 (https://github.com/RustCrypto/utils.git#708aa72b) -> #cc772039
    Updating inout v0.2.0-pre (https://github.com/RustCrypto/utils.git#708aa72b) -> #cc772039
    Updating itoa v1.0.9 -> v1.0.10
      Adding jobserver v0.1.27
    Updating libc v0.2.150 -> v0.2.151
    Updating proc-macro2 v1.0.69 -> v1.0.71
    Updating ryu v1.0.15 -> v1.0.16
    Updating serde v1.0.192 -> v1.0.193
    Updating serde_bytes v0.11.12 -> v0.11.13
    Updating serde_derive v1.0.192 -> v1.0.193
    Updating spki v0.7.2 -> v0.7.3
    Updating syn v2.0.39 -> v2.0.43
  • Loading branch information
tarcieri authored Dec 28, 2023
1 parent 3a44a3e commit 1c06a1e
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 62 deletions.
30 changes: 2 additions & 28 deletions .github/workflows/kem.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
strategy:
matrix:
rust:
- 1.61.0 # Next MSRV candidate
- 1.66.0 # MSRV
- stable
target:
- thumbv7em-none-eabi
Expand All @@ -36,26 +36,12 @@ jobs:
targets: ${{ matrix.target }}
- run: cargo build --no-default-features --release --target ${{ matrix.target }}

# TODO: use the reusable workflow after this crate will be part of the
# toot workspace
# minimal-versions:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - uses: RustCrypto/actions/cargo-cache@master
# - uses: dtolnay/rust-toolchain@master
# with:
# toolchain: nightly
# - uses: RustCrypto/actions/cargo-hack-install@master
# - run: cargo update -Z minimal-versions
# - run: cargo hack test --release --feature-powerset

test:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.61.0 # Next MSRV candidate
- 1.66.0 # MSRV
- stable
steps:
- uses: actions/checkout@v4
Expand All @@ -67,15 +53,3 @@ jobs:
- run: cargo test --no-default-features --release
- run: cargo test --release
- run: cargo test --all-features --release

# build-only test of MSRV
# TODO: remove on MSRV bump higher than MSRV of `cc`
test-msrv:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: RustCrypto/actions/cargo-cache@master
- uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.60.0
- run: cargo check --all-features
70 changes: 40 additions & 30 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions kem/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "kem"
description = "Traits for key encapsulation mechanisms"
version = "0.2.0"
version = "0.3.0-pre"
authors = ["RustCrypto Developers"]
license = "Apache-2.0 OR MIT"
documentation = "https://docs.rs/kem"
Expand All @@ -10,7 +10,7 @@ readme = "README.md"
edition = "2021"
keywords = ["crypto"]
categories = ["cryptography", "no-std"]
rust-version = "1.60"
rust-version = "1.66"

[dependencies]
rand_core = "0.6"
Expand Down
4 changes: 2 additions & 2 deletions kem/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ The crate exposes four traits, `Encapsulator`, `Decapsulator`, `AuthEncapsulator

## Minimum Supported Rust Version

Rust **1.60** or higher.
Rust **1.66** or higher.

Minimum supported Rust version can be changed in the future, but it will be
done with a minor version bump.
Expand Down Expand Up @@ -47,7 +47,7 @@ dual licensed as above, without any additional terms or conditions.
[docs-image]: https://docs.rs/kem/badge.svg
[docs-link]: https://docs.rs/kem/
[license-image]: https://img.shields.io/badge/license-Apache2.0/MIT-blue.svg
[rustc-image]: https://img.shields.io/badge/rustc-1.60+-blue.svg
[rustc-image]: https://img.shields.io/badge/rustc-1.66+-blue.svg
[chat-image]: https://img.shields.io/badge/zulip-join_chat-blue.svg
[chat-link]: https://rustcrypto.zulipchat.com/#narrow/stream/260048-signatures
[build-image]: https://github.com/RustCrypto/traits/workflows/kem/badge.svg?branch=master&event=push
Expand Down

0 comments on commit 1c06a1e

Please sign in to comment.