Skip to content

Commit 3435eae

Browse files
committed
Bump MSRV to 1.63.0
Because in 1.63.0 this was fixed: rust-lang/rust#83701
1 parent aede900 commit 3435eae

File tree

8 files changed

+11
-14
lines changed

8 files changed

+11
-14
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
runs-on: ubuntu-latest
3939
steps:
4040
- uses: actions/checkout@v4
41-
- uses: dtolnay/rust-toolchain@1.60.0
41+
- uses: dtolnay/rust-toolchain@1.63.0
4242
- uses: Swatinem/rust-cache@v2
4343
- run: |
4444
cargo update -p proptest --precise "1.2.0"

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33

44
## Unreleased
55

6+
- Bumped MSRV to 1.63.0 to reduce friction
7+
- Added `share_backup` module in `schnorr_fun`
68
- Added `arithmetic_macros` to make `g!` and `s!` macros into procedural macros
79
- Made even `Secret` things `Copy`. See discussion [here](https://github.com/LLFourn/secp256kfun/issues/6#issuecomment-1363752651).
810

ecdsa_fun/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "ecdsa_fun"
33
version = "0.9.0"
44
authors = ["LLFourn <lloyd.fourn@gmail.com>"]
55
edition = "2021"
6-
rust-version = "1.60"
6+
rust-version = "1.63"
77
license = "0BSD"
88
homepage = "https://github.com/LLFourn/secp256kfun/tree/master/ecdsa_fun"
99
repository = "https://github.com/LLFourn/secp256kfun"

schnorr_fun/Cargo.toml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ name = "schnorr_fun"
44
version = "0.9.1"
55
authors = ["LLFourn <lloyd.fourn@gmail.com>"]
66
edition = "2021"
7-
rust-version = "1.60"
7+
rust-version = "1.63"
88
license = "0BSD"
99
homepage = "https://github.com/LLFourn/secp256kfun/tree/master/schnorr_fun"
1010
repository = "https://github.com/LLFourn/secp256kfun"
@@ -15,6 +15,7 @@ keywords = ["bitcoin", "schnorr"]
1515

1616
[dependencies]
1717
secp256kfun = { path = "../secp256kfun", version = "0.9", default-features = false }
18+
bech32 = { version = "0.9", optional = true, default-features = false }
1819

1920
[dev-dependencies]
2021
secp256kfun = { path = "../secp256kfun", version = "0.9", features = ["proptest"] }
@@ -44,12 +45,7 @@ serde = ["secp256kfun/serde"]
4445
libsecp_compat = ["secp256kfun/libsecp_compat", "libsecp_compat_0_27"]
4546
libsecp_compat_0_27 = ["secp256kfun/libsecp_compat_0_27"]
4647
proptest = ["secp256kfun/proptest"]
47-
share_backup = ["bech32"]
48-
49-
[dependencies.bech32]
50-
version = "0.9"
51-
optional = true
52-
default-features = false
48+
share_backup = ["dep:bech32"]
5349

5450
[package.metadata.docs.rs]
5551
all-features = true

schnorr_fun/src/share_backup.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,11 @@
5050
use alloc::{fmt, string::String, vec::Vec};
5151
use bech32::{u5, FromBase32, ToBase32, Variant::Bech32m};
5252
use core::{num::NonZeroU32, str::FromStr};
53-
use secp256kfun::marker::ZeroChoice;
5453
use secp256kfun::{
5554
digest::{generic_array::typenum::U32, Digest},
5655
g,
5756
hash::HashAdd,
58-
marker::{Normal, Public},
57+
marker::*,
5958
poly, Point, Scalar, G,
6059
};
6160

secp256kfun/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ repository = "https://github.com/LLFourn/secp256kfun"
88
documentation = "https://docs.rs/secp256kfun"
99
description = "A mid-level secp256k1 library optimized for fun!"
1010
edition = "2021"
11-
rust-version = "1.60"
11+
rust-version = "1.63"
1212
categories = ["cryptography", "cryptography::cryptocurrencies"]
1313
readme = "README.md"
1414
keywords = ["bitcoin", "secp256k1"]

secp256kfun/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ assert_eq!(commitment, pedersen_commit(A, &B, &r, &x));
175175

176176
## MSRV
177177

178-
Minimum supported rust version is `v1.60`. Technically `rustc` only needs to be `v1.56` but we need features from `v.1.60` of cargo.
178+
Minimum supported rust version is `v1.63`.
179179

180180
## LICENSE
181181

sigma_fun/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "sigma_fun"
33
version = "0.6.0"
44
authors = ["LLFourn <lloyd.fourn@gmail.com>"]
55
edition = "2021"
6-
rust-version = "1.60"
6+
rust-version = "1.63"
77
license = "0BSD"
88
description = "A framework for making Sigma protocols fun!"
99
homepage = "https://github.com/LLFourn/secp256kfun/tree/master/sigma_fun"

0 commit comments

Comments
 (0)