Skip to content

Commit

Permalink
Update to Rust 2021 and explicitly set MSRVs
Browse files Browse the repository at this point in the history
  • Loading branch information
nuttycom committed Sep 2, 2022
1 parent 6318edb commit 16a0e43
Show file tree
Hide file tree
Showing 15 changed files with 28 additions and 9 deletions.
3 changes: 2 additions & 1 deletion components/equihash/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ authors = ["Jack Grigg <jack@z.cash>"]
homepage = "https://github.com/zcash/librustzcash"
repository = "https://github.com/zcash/librustzcash"
license = "MIT OR Apache-2.0"
edition = "2018"
edition = "2021"
rust-version = "1.56.1"

[dependencies]
blake2b_simd = "1"
Expand Down
1 change: 1 addition & 0 deletions components/f4jumble/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ and this library adheres to Rust's notion of

## [0.1.0] - 2022-05-11
Initial release.
MSRV is 1.51
1 change: 1 addition & 0 deletions components/f4jumble/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ repository = "https://github.com/zcash/librustzcash"
readme = "README.md"
license = "MIT OR Apache-2.0"
edition = "2018"
rust-version = "1.51"
categories = ["encoding"]
keywords = ["feistel"]

Expand Down
3 changes: 3 additions & 0 deletions components/zcash_address/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ and this library adheres to Rust's notion of
- `zcash_address::TryFromRawAddress`
- `zcash_address::ZcashAddress::convert_if_network`

### Changed
- MSRV is now 1.52

### Removed
- `zcash_address::FromAddress` (use `TryFromAddress` instead).

Expand Down
1 change: 1 addition & 0 deletions components/zcash_address/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ repository = "https://github.com/zcash/librustzcash"
readme = "README.md"
license = "MIT OR Apache-2.0"
edition = "2018"
rust-version = "1.52"
categories = ["cryptography::cryptocurrencies", "encoding"]
keywords = ["zcash", "address", "sapling", "unified"]

Expand Down
3 changes: 3 additions & 0 deletions components/zcash_encoding/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,8 @@ and this library adheres to Rust's notion of

## [Unreleased]

### Changed
- MSRV is now 1.52

## [0.1.0] - 2022-05-11
Initial release.
3 changes: 2 additions & 1 deletion components/zcash_encoding/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ homepage = "https://github.com/zcash/librustzcash"
repository = "https://github.com/zcash/librustzcash"
readme = "README.md"
license = "MIT OR Apache-2.0"
edition = "2018"
edition = "2021"
rust-version = "1.56.1"
categories = ["cryptography::cryptocurrencies", "encoding"]
keywords = ["zcash"]

Expand Down
3 changes: 2 additions & 1 deletion components/zcash_note_encryption/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ homepage = "https://github.com/zcash/librustzcash"
repository = "https://github.com/zcash/librustzcash"
readme = "README.md"
license = "MIT OR Apache-2.0"
edition = "2018"
edition = "2021"
rust-version = "1.56.1"
categories = ["cryptography::cryptocurrencies"]

[package.metadata.docs.rs]
Expand Down
3 changes: 2 additions & 1 deletion zcash_client_backend/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ homepage = "https://github.com/zcash/librustzcash"
repository = "https://github.com/zcash/librustzcash"
readme = "README.md"
license = "MIT OR Apache-2.0"
edition = "2018"
edition = "2021"
rust-version = "1.56.1"

[dependencies]
base64 = "0.13"
Expand Down
3 changes: 2 additions & 1 deletion zcash_client_sqlite/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ homepage = "https://github.com/zcash/librustzcash"
repository = "https://github.com/zcash/librustzcash"
readme = "README.md"
license = "MIT OR Apache-2.0"
edition = "2018"
edition = "2021"
rust-version = "1.56.1"

[dependencies]
bech32 = "0.8"
Expand Down
1 change: 1 addition & 0 deletions zcash_extensions/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ and this library adheres to Rust's notion of

## [Unreleased]
Initial release.
MSRV is 1.56.1
3 changes: 2 additions & 1 deletion zcash_extensions/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ authors = ["Jack Grigg <jack@z.cash>", "Kris Nuttycombe <kris@z.cash>"]
homepage = "https://github.com/zcash/librustzcash"
repository = "https://github.com/zcash/librustzcash"
license = "MIT OR Apache-2.0"
edition = "2018"
edition = "2021"
rust-version = "1.56.1"

[dependencies]
blake2b_simd = "1"
Expand Down
3 changes: 2 additions & 1 deletion zcash_history/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
name = "zcash_history"
version = "0.3.0"
authors = ["NikVolf <nikvolf@gmail.com>"]
edition = "2018"
edition = "2021"
rust-version = "1.56.1"
license = "MIT/Apache-2.0"
documentation = "https://docs.rs/zcash_history/"
description = "Library for Zcash blockchain history tools"
Expand Down
3 changes: 2 additions & 1 deletion zcash_primitives/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ homepage = "https://github.com/zcash/librustzcash"
repository = "https://github.com/zcash/librustzcash"
readme = "README.md"
license = "MIT OR Apache-2.0"
edition = "2018"
edition = "2021"
rust-version = "1.56.1"
categories = ["cryptography::cryptocurrencies"]

[package.metadata.docs.rs]
Expand Down
3 changes: 2 additions & 1 deletion zcash_proofs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ homepage = "https://github.com/zcash/librustzcash"
repository = "https://github.com/zcash/librustzcash"
readme = "README.md"
license = "MIT OR Apache-2.0"
edition = "2018"
edition = "2021"
rust-version = "1.56.1"
categories = ["cryptography::cryptocurrencies"]

[package.metadata.docs.rs]
Expand Down

0 comments on commit 16a0e43

Please sign in to comment.