Add job to competently check MSRVs

The prior workflow (now deleted) required manually specifying the packages to
check and only checked the package could compile under the stated MSRV. It
didn't verify it was actually the _minimum_ supported Rust version. The new
version finds the MSRV from scratch to check if the stated MSRV aligns.

Updates stated MSRVs accordingly.

Also removes many explicit dependencies from secq256k1 for their re-exports via
k256. Not directly relevant, just part of tidying up all the `toml`s.
This commit is contained in:
Luke Parker
2025-08-26 14:04:39 -04:00
parent e3e41324c9
commit 2f833dec77
81 changed files with 251 additions and 430 deletions

115
Cargo.lock generated
View File

@@ -112,9 +112,9 @@ dependencies = [
[[package]]
name = "alloy-consensus"
version = "1.0.25"
version = "1.0.27"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "35f021a55afd68ff2364ccfddaa364fc9a38a72200cdc74fcfb8dc3231d38f2c"
checksum = "b7345077623aaa080fc06735ac13b8fa335125c8550f9c4f64135a5bf6f79967"
dependencies = [
"alloy-eips",
"alloy-primitives",
@@ -137,9 +137,9 @@ dependencies = [
[[package]]
name = "alloy-consensus-any"
version = "1.0.25"
version = "1.0.27"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5a0ecca7a71b1f88e63d19e2d9397ce56949d3dd3484fd73c73d0077dc5c93d4"
checksum = "501f83565d28bdb9d6457dd3b5d646e19db37709d0f27608a26a1839052ddade"
dependencies = [
"alloy-consensus",
"alloy-eips",
@@ -197,9 +197,9 @@ dependencies = [
[[package]]
name = "alloy-eips"
version = "1.0.25"
version = "1.0.27"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7473a19f02b25f8e1e8c69d35f02c07245694d11bd91bfe00e9190ac106b3838"
checksum = "c219a87fb386a75780ddbdbbced242477321887e426b0f946c05815ceabe5e09"
dependencies = [
"alloy-eip2124",
"alloy-eip2930",
@@ -212,14 +212,16 @@ dependencies = [
"derive_more 2.0.1",
"either",
"serde",
"serde_with",
"sha2 0.10.9",
"thiserror 2.0.16",
]
[[package]]
name = "alloy-genesis"
version = "1.0.25"
version = "1.0.27"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "17b2c29f25098bfa4cd3d9ec7806e1506716931e188c7c0843284123831c2cf1"
checksum = "2dbf4c6b1b733ba0efaa6cc5f68786997a19ffcd88ff2ee2ba72fdd42594375e"
dependencies = [
"alloy-eips",
"alloy-primitives",
@@ -255,9 +257,9 @@ dependencies = [
[[package]]
name = "alloy-json-rpc"
version = "1.0.25"
version = "1.0.27"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7a4d1f49fdf9780b60e52c20ffcc1e352d8d27885cc8890620eb584978265dd9"
checksum = "334555c323fa2bb98f1d4c242b62da9de8c715557a2ed680a76cefbcac19fefd"
dependencies = [
"alloy-primitives",
"alloy-sol-types",
@@ -270,9 +272,9 @@ dependencies = [
[[package]]
name = "alloy-network"
version = "1.0.25"
version = "1.0.27"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2991c432e149babfd996194f8f558f85d7326ac4cf52c55732d32078ff0282d4"
checksum = "c7ea377c9650203d7a7da9e8dee7f04906b49a9253f554b110edd7972e75ef34"
dependencies = [
"alloy-consensus",
"alloy-consensus-any",
@@ -296,9 +298,9 @@ dependencies = [
[[package]]
name = "alloy-network-primitives"
version = "1.0.25"
version = "1.0.27"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1d540d962ddbc3e95153bafe56ccefeb16dfbffa52c5f7bdd66cd29ec8f52259"
checksum = "b9f9ab9a9e92c49a357edaee2d35deea0a32ac8f313cfa37448f04e7e029c9d9"
dependencies = [
"alloy-consensus",
"alloy-eips",
@@ -309,9 +311,9 @@ dependencies = [
[[package]]
name = "alloy-node-bindings"
version = "1.0.25"
version = "1.0.27"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "05975c1090ae96b204ec6ac5e21ebca0c27da8fdd9dcf712cd173d7e31ae9865"
checksum = "cb0af8bdb3ee8da43a1f1eb9d1df3c8e3bd657dd20eddd3f00f03105c0fdd3f5"
dependencies = [
"alloy-genesis",
"alloy-hardforks",
@@ -357,9 +359,9 @@ dependencies = [
[[package]]
name = "alloy-provider"
version = "1.0.25"
version = "1.0.27"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7e96d8084a1cf96be2df6219ac407275ac20c1136fa01f911535eb489aa006e8"
checksum = "9a85361c88c16116defbd98053e3d267054d6b82729cdbef0236f7881590f924"
dependencies = [
"alloy-chains",
"alloy-consensus",
@@ -417,9 +419,9 @@ dependencies = [
[[package]]
name = "alloy-rpc-client"
version = "1.0.25"
version = "1.0.27"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "194ff51cd1d2e65c66b98425e0ca7eb559ca1a579725834c986d84faf8e224c0"
checksum = "743fc964abb0106e454e9e8683fb0809fb32940270ef586a58e913531360b302"
dependencies = [
"alloy-json-rpc",
"alloy-primitives",
@@ -437,9 +439,9 @@ dependencies = [
[[package]]
name = "alloy-rpc-types-any"
version = "1.0.25"
version = "1.0.27"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "124b742619519d5932e586631f11050028b29c30e3e195f2bb04228c886253d6"
checksum = "97372c51a14a804fb9c17010e3dd6c117f7866620b264e24b64d2259be44bcdf"
dependencies = [
"alloy-consensus-any",
"alloy-rpc-types-eth",
@@ -448,20 +450,21 @@ dependencies = [
[[package]]
name = "alloy-rpc-types-debug"
version = "1.0.25"
version = "1.0.27"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1c6a6c8ae298c2739706ee3cd996c220b0ea406e6841a4e4290c7336edd5f811"
checksum = "a005a343cae9a0d4078d2f85a666493922d4bfb756229ea2a45a4bafd21cb9f1"
dependencies = [
"alloy-primitives",
"derive_more 2.0.1",
"serde",
"serde_with",
]
[[package]]
name = "alloy-rpc-types-eth"
version = "1.0.25"
version = "1.0.27"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "781d4d5020bea8f020e164f5593101c2e2f790d66d04a0727839d03bc4411ed7"
checksum = "672286c19528007df058bafd82c67e23247b4b3ebbc538cbddc705a82d8a930f"
dependencies = [
"alloy-consensus",
"alloy-consensus-any",
@@ -480,9 +483,9 @@ dependencies = [
[[package]]
name = "alloy-rpc-types-trace"
version = "1.0.25"
version = "1.0.27"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "719e5eb9c15e21dab3dee2cac53505500e5e701f25d556734279c5f02154022a"
checksum = "d53c5ea8e10ca72889476343deb98c050da7b85e119a55a2a02a9791cb8242e4"
dependencies = [
"alloy-primitives",
"alloy-rpc-types-eth",
@@ -494,9 +497,9 @@ dependencies = [
[[package]]
name = "alloy-serde"
version = "1.0.25"
version = "1.0.27"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "30be84f45d4f687b00efaba1e6290cbf53ccc8f6b8fbb54e4c2f9d2a0474ce95"
checksum = "1aae653f049267ae7e040eab6c9b9a417064ca1a6cb21e3dd59b9f1131ef048f"
dependencies = [
"alloy-primitives",
"serde",
@@ -505,9 +508,9 @@ dependencies = [
[[package]]
name = "alloy-signer"
version = "1.0.25"
version = "1.0.27"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fa8c24b883fe56395db64afcd665fca32dcdef670a59e5338de6892c2e38d7e9"
checksum = "d97cedce202f848592b96f7e891503d3adb33739c4e76904da73574290141b93"
dependencies = [
"alloy-primitives",
"async-trait",
@@ -520,9 +523,9 @@ dependencies = [
[[package]]
name = "alloy-signer-local"
version = "1.0.25"
version = "1.0.27"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "05724615fd2ec3417f5cd07cab908300cbb3aae5badc1b805ca70c555b26775f"
checksum = "83ae7d854db5b7cdd5b9ed7ad13d1e5e034cdd8be85ffef081f61dc6c9e18351"
dependencies = [
"alloy-consensus",
"alloy-network",
@@ -617,9 +620,9 @@ dependencies = [
[[package]]
name = "alloy-transport"
version = "1.0.25"
version = "1.0.27"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "20b7f8b6c540b55e858f958d3a92223494cf83c4fb43ff9b26491edbeb3a3b71"
checksum = "c08b383bc903c927635e39e1dae7df2180877d93352d1abd389883665a598afc"
dependencies = [
"alloy-json-rpc",
"alloy-primitives",
@@ -657,9 +660,9 @@ dependencies = [
[[package]]
name = "alloy-tx-macros"
version = "1.0.25"
version = "1.0.27"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "72e29436068f836727d4e7c819ae6bf6f9c9e19a32e96fc23e814709a277f23a"
checksum = "d14809f908822dbff0dc472c77ca4aa129ab12e22fd9bff2dd1ef54603e68e3d"
dependencies = [
"alloy-primitives",
"darling",
@@ -1873,9 +1876,9 @@ dependencies = [
[[package]]
name = "chrono"
version = "0.4.39"
version = "0.4.41"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7e36cc9d416881d2e24f9a963be5fb1cd90966419ac844274161d10488b3e825"
checksum = "c469d952047f47f91b68d1cba3f10d63c11d73e4636f24f08daf0278abf01c4d"
dependencies = [
"android-tzdata",
"iana-time-zone",
@@ -1883,7 +1886,7 @@ dependencies = [
"num-traits",
"serde",
"wasm-bindgen",
"windows-targets 0.52.6",
"windows-link",
]
[[package]]
@@ -1962,9 +1965,9 @@ dependencies = [
[[package]]
name = "clap"
version = "4.5.45"
version = "4.5.46"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1fc0e74a703892159f5ae7d3aac52c8e6c392f5ae5f359c70b5881d60aaac318"
checksum = "2c5e4fcf9c21d2e544ca1ee9d8552de13019a42aa7dbf32747fa7aaf1df76e57"
dependencies = [
"clap_builder",
"clap_derive",
@@ -1972,9 +1975,9 @@ dependencies = [
[[package]]
name = "clap_builder"
version = "4.5.44"
version = "4.5.46"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b3e7f4214277f3c7aa526a59dd3fbe306a370daee1f8b7b8c987069cd8e888a8"
checksum = "fecb53a0e6fcfb055f686001bc2e2592fa527efaf38dbe81a6a9563562e57d41"
dependencies = [
"anstream",
"anstyle",
@@ -2378,9 +2381,9 @@ dependencies = [
[[package]]
name = "cxx-build"
version = "1.0.168"
version = "1.0.169"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "12d3cbb84fb003242941c231b45ca9417e786e66e94baa39584bd99df3a270b6"
checksum = "acef58f684c0c9b7bffc111657c9f1364e4fa47af46fd7f03b71b7a4066ac372"
dependencies = [
"cc",
"codespan-reporting",
@@ -3084,7 +3087,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "778e2ac28f6c47af28e4907f13ffd1e1ddbd400980a9abd7c8df189bf578a5ad"
dependencies = [
"libc",
"windows-sys 0.52.0",
"windows-sys 0.60.2",
]
[[package]]
@@ -4229,7 +4232,7 @@ dependencies = [
"httpdate",
"itoa",
"pin-project-lite",
"socket2 0.5.8",
"socket2 0.4.10",
"tokio",
"tower-service",
"tracing",
@@ -6689,7 +6692,7 @@ version = "0.7.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "77e878c846a8abae00dd069496dbe8751b16ac1c3d6bd2a7283a938e8228f90d"
dependencies = [
"proc-macro-crate 3.2.0",
"proc-macro-crate 1.3.1",
"proc-macro2",
"quote",
"syn 2.0.106",
@@ -7696,7 +7699,7 @@ dependencies = [
"once_cell",
"socket2 0.5.8",
"tracing",
"windows-sys 0.52.0",
"windows-sys 0.59.0",
]
[[package]]
@@ -8372,7 +8375,7 @@ dependencies = [
"errno",
"libc",
"linux-raw-sys 0.4.14",
"windows-sys 0.52.0",
"windows-sys 0.59.0",
]
[[package]]
@@ -8385,7 +8388,7 @@ dependencies = [
"errno",
"libc",
"linux-raw-sys 0.9.4",
"windows-sys 0.52.0",
"windows-sys 0.60.2",
]
[[package]]
@@ -9617,19 +9620,15 @@ version = "0.1.0"
dependencies = [
"blake2",
"ciphersuite 0.4.2",
"crypto-bigint",
"ec-divisors",
"ff-group-tests",
"generalized-bulletproofs-ec-gadgets",
"generic-array 0.14.7",
"hex",
"hex-literal",
"k256",
"rand_core 0.6.4",
"rustversion",
"std-shims",
"subtle",
"zeroize",
]
[[package]]
@@ -12134,7 +12133,7 @@ dependencies = [
"getrandom 0.3.2",
"once_cell",
"rustix 1.0.8",
"windows-sys 0.52.0",
"windows-sys 0.60.2",
]
[[package]]