diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 1e06561a..ea6c4cd6 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -13,7 +13,7 @@ jobs: fail-fast: false matrix: rust: - - 1.57.0 # MSRV + - 1.63.0 # MSRV - stable - nightly @@ -25,7 +25,7 @@ jobs: toolchain: ${{ matrix.rust }} override: true - name: Fixes for MSRV - if: matrix.rust == '1.57.0' + if: matrix.rust == '1.63.0' run: | cargo update cargo update -p log --precise 0.4.18 @@ -35,6 +35,7 @@ jobs: cargo update -p rustls --precise 0.20.8 cargo update -p webpki --precise 0.22.2 cargo update -p byteorder --precise 1.4.3 + cargo update -p regex --precise 1.9.6 - name: test run: cargo test --verbose --all-features --lib diff --git a/README.md b/README.md index 832b27b1..143adaf7 100644 --- a/README.md +++ b/README.md @@ -72,7 +72,7 @@ Seeking review of the code that verifies there is no overpayment. Contributions ## Minimum Supported Rust Version (MSRV) -The `payjoin` library should always compile with any combination of features on Rust **1.57.0**. +The `payjoin` library should always compile with any combination of features on Rust **1.63.0**. To build and test with the MSRV you will need to pin the below dependency versions: @@ -84,8 +84,11 @@ cargo update -p minreq --precise 2.8.0 cargo update -p rustls --precise 0.20.8 cargo update -p webpki --precise 0.22.2 cargo update -p byteorder --precise 1.4.3 +cargo update -p regex --precise 1.9.6 ``` +The `payjoin-cli` should compile with Rust **stable** MSRV + ## License MIT diff --git a/payjoin-cli/Cargo.lock b/payjoin-cli/Cargo.lock index 7bf944f4..f568c469 100644 --- a/payjoin-cli/Cargo.lock +++ b/payjoin-cli/Cargo.lock @@ -465,12 +465,6 @@ dependencies = [ "gzip-header", ] -[[package]] -name = "deranged" -version = "0.3.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7684a49fb1af197853ef7b2ee694bc1f5b4179556f1e5710e1760c5db6f5e929" - [[package]] name = "digest" version = "0.10.7" @@ -1681,11 +1675,10 @@ dependencies = [ [[package]] name = "time" -version = "0.3.25" +version = "0.3.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b0fdd63d58b18d663fbdf70e049f00a22c8e42be082203be7f26589213cd75ea" +checksum = "ea9e1b3cf1243ae005d9e74085d4d542f3125458f3a81af210d901dcd7411efd" dependencies = [ - "deranged", "libc", "num_threads", "serde", diff --git a/payjoin-cli/Cargo.toml b/payjoin-cli/Cargo.toml index 961ae61c..c16e50d1 100644 --- a/payjoin-cli/Cargo.toml +++ b/payjoin-cli/Cargo.toml @@ -2,7 +2,10 @@ name = "payjoin-cli" version = "0.0.1" authors = ["Dan Gould ", "Martin Habovstiak "] -edition = "2018" +repository = "https://github.com/payjoin/rust-payjoin" +readme = "README.md" +edition = "2021" +resolver = "2" [[bin]] name = "payjoin" diff --git a/payjoin/Cargo.toml b/payjoin/Cargo.toml index 254459ce..69125724 100644 --- a/payjoin/Cargo.toml +++ b/payjoin/Cargo.toml @@ -8,7 +8,8 @@ readme = "../README.md" keywords = ["bip78", "payjoin", "bitcoin"] categories = ["api-bindings", "cryptography::cryptocurrencies", "network-programming"] license = "MITNFA" -edition = "2018" +resolver = "2" +edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html