crate-crypto / rust-eth-kzg

Apache License 2.0
12 stars 5 forks source link

chore: Codify subtle version that rust-eth-kzg works with as >=2.5.0 #237

Closed kevaundray closed 3 weeks ago

kevaundray commented 3 weeks ago

Closes #235

kevaundray commented 3 weeks ago

as noted in #236 we need to add it into one of the packages as it will not take effect if we put it in the workspace and do not use subtle

kevaundray commented 3 weeks ago

Running cargo update -p subtle --precise 2.4.1 will now give the following error:

error: failed to select a version for the requirement `subtle = ">=2.5.0, <3.0"`
candidate versions found which didn't match: 2.4.1
location searched: crates.io index
required by package `crate_crypto_internal_eth_kzg_bls12_381 v0.4.1 (crate-crypto/peerdas-kzg/cryptography/bls12_381)`
exit 101
kevaundray commented 3 weeks ago

Non-breaking since if you were using a subtle version that was less tha 2.5.0, it would not have built