Skip to content

Commit

Permalink
rust: set MSRV to 1.58.1
Browse files Browse the repository at this point in the history
This bumps MSRV to 1.58 to allow adding some new dependencies. These dependencies could
be kept back to some degree but I am unsure whether this would bring value.
At this point, more and more libraries require version 2021, which was introduced
with rust 1.56.

Signed-off-by: Petre Eftime <[email protected]>
  • Loading branch information
Petre Eftime authored and petreeftime committed Aug 8, 2022
1 parent 405e3ed commit b8d438a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
rust: [1.46.0, stable, nightly]
rust: [1.58.1, stable, nightly]
key_feature_set:
- key_openssl_pkey
steps:
Expand Down
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ keywords = ["COSE"]
categories = ["cryptography"]
repository = "https://github.com/awslabs/aws-nitro-enclaves-cose"
description = "This library aims to provide a safe Rust implementation of COSE, with COSE Sign1 currently implemented."
rust-version = "1.58"

[dependencies]
serde_cbor = { version="0.11", features = ["tags"] }
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
[![status]][actions] [![version]][crates.io] [![docs]][docs.rs]
[![status]][actions] [![version]][crates.io] [![docs]][docs.rs] ![msrv]

[status]: https://img.shields.io/github/workflow/status/awslabs/aws-nitro-enclaves-cose/CI/master
[actions]: https://github.com/awslabs/aws-nitro-enclaves-cose/actions?query=branch%3Amain
[version]: https://img.shields.io/crates/v/aws-nitro-enclaves-cose.svg
[crates.io]: https://crates.io/crates/aws-nitro-enclaves-cose
[docs]: https://img.shields.io/docsrs/aws-nitro-enclaves-cose
[docs.rs]: https://docs.rs/aws-nitro-enclaves-cose
[msrv]: https://img.shields.io/badge/MSRV-1.58.1-blue

## COSE for AWS Nitro Enclaves

Expand Down

0 comments on commit b8d438a

Please sign in to comment.