Bump MSRV for `zcash_primitives` and dependents to 1.60

The MSRVs of the component crates are left as-is, partly because our
dependencies don't require us to bump them, and partly because those
crates have no pending changes and are relatively stable. We also plan
to split the component crates out into a separate repository, where it
will be easier to have a separate MSRV.

Closes zcash/librustzcash#759.
This commit is contained in:
Jack Grigg 2023-01-19 23:48:24 +00:00
parent b83355f7a3
commit 49b1cb3e69
15 changed files with 24 additions and 16 deletions

View File

@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.56.1
toolchain: 1.60.0
override: true
- name: Fetch path to Zcash parameters
@ -58,7 +58,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.56.1
toolchain: 1.60.0
override: true
- name: Add target
run: rustup target add ${{ matrix.target }}
@ -81,7 +81,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.56.1
toolchain: 1.60.0
override: true
# Build benchmarks to prevent bitrot
- name: Build benchmarks
@ -91,20 +91,20 @@ jobs:
args: --all --benches
clippy:
name: Clippy (1.56.1)
name: Clippy (1.60.0)
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.56.1
toolchain: 1.60.0
components: clippy
override: true
- name: Run clippy
uses: actions-rs/clippy-check@v1
with:
name: Clippy (1.56.1)
name: Clippy (1.60.0)
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features --all-targets -- -D warnings
@ -177,7 +177,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.56.1
toolchain: 1.60.0
override: true
- name: cargo fetch
uses: actions-rs/cargo@v1
@ -200,7 +200,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.56.1
toolchain: 1.60.0
override: true
# Ensure all code has been formatted with rustfmt

View File

@ -1 +0,0 @@
1.56.1

2
rust-toolchain.toml Normal file
View File

@ -0,0 +1,2 @@
[toolchain]
channel = "1.60.0"

View File

@ -8,6 +8,7 @@ and this library adheres to Rust's notion of
## [Unreleased]
### Changed
- MSRV is now 1.60.0.
- `zcash_client_backend::data_api::wallet::shield_transparent_funds` now
takes a `shielding_threshold` argument that can be used to specify the
minimum value allowed as input to a shielding transaction. Previously

View File

@ -11,7 +11,7 @@ repository = "https://github.com/zcash/librustzcash"
readme = "README.md"
license = "MIT OR Apache-2.0"
edition = "2021"
rust-version = "1.56.1"
rust-version = "1.60"
# Exclude proto files so crates.io consumers don't need protoc.
exclude = ["*.proto"]

View File

@ -6,6 +6,8 @@ and this library adheres to Rust's notion of
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
### Changed
- MSRV is now 1.60.0.
## [0.4.2] - 2022-12-13
### Fixed

View File

@ -11,7 +11,7 @@ repository = "https://github.com/zcash/librustzcash"
readme = "README.md"
license = "MIT OR Apache-2.0"
edition = "2021"
rust-version = "1.56.1"
rust-version = "1.60"
[dependencies]
zcash_client_backend = { version = "0.6", path = "../zcash_client_backend" }

View File

@ -7,4 +7,4 @@ and this library adheres to Rust's notion of
## [Unreleased]
Initial release.
MSRV is 1.56.1
MSRV is 1.60.0.

View File

@ -7,7 +7,7 @@ homepage = "https://github.com/zcash/librustzcash"
repository = "https://github.com/zcash/librustzcash"
license = "MIT OR Apache-2.0"
edition = "2021"
rust-version = "1.56.1"
rust-version = "1.60"
[dependencies]
blake2b_simd = "1"

View File

@ -6,6 +6,8 @@ and this library adheres to Rust's notion of
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
### Changed
- MSRV is now 1.60.0.
## [0.3.0] - 2022-05-11
### Added

View File

@ -3,7 +3,7 @@ name = "zcash_history"
version = "0.3.0"
authors = ["NikVolf <nikvolf@gmail.com>"]
edition = "2021"
rust-version = "1.56.1"
rust-version = "1.60"
license = "MIT/Apache-2.0"
documentation = "https://docs.rs/zcash_history/"
description = "Library for Zcash blockchain history tools"

View File

@ -11,6 +11,7 @@ and this library adheres to Rust's notion of
values and value commitments.
### Changed
- MSRV is now 1.60.0.
- `zcash_primitives::transaction::components::sapling::builder`:
- `SaplingBuilder::add_output` now takes a
`zcash_primitives::sapling::value::NoteValue`.

View File

@ -11,7 +11,7 @@ repository = "https://github.com/zcash/librustzcash"
readme = "README.md"
license = "MIT OR Apache-2.0"
edition = "2021"
rust-version = "1.56.1"
rust-version = "1.60"
categories = ["cryptography::cryptocurrencies"]
[package.metadata.docs.rs]

View File

@ -12,6 +12,7 @@ and this library adheres to Rust's notion of
- A `value_commitment_opening` field on `Spend` and `Output`.
### Changed
- MSRV is now 1.60.0.
- Value commitments now use `zcash_primitives::sapling::value::ValueCommitment`
instead of `jubjub::ExtendedPoint` in `zcash_proofs::sapling`:
- `SaplingProvingContext::{spend_proof, output_proof}`

View File

@ -10,7 +10,7 @@ repository = "https://github.com/zcash/librustzcash"
readme = "README.md"
license = "MIT OR Apache-2.0"
edition = "2021"
rust-version = "1.56.1"
rust-version = "1.60"
categories = ["cryptography::cryptocurrencies"]
[package.metadata.docs.rs]