wyyerd / stripe-rs

Rust API bindings for the Stripe HTTP API.
Apache License 2.0
219 stars 88 forks source link

0.12.3 does not compile (hmac-crypto got yanked) #186

Closed roy-ganz closed 2 years ago

roy-ganz commented 2 years ago

Version 0.12.3 depends on hmac = 0.6. That causes troubles, because the depended crate hmac-crypto 0.6 got yanked. Please consider upgrading the hmac.

error: failed to select a version for the requirement `crypto-mac = "^0.6"`
candidate versions found which didn't match: 0.11.1, 0.11.0, 0.10.1, ...
location searched: crates.io index
required by package `hmac v0.6.0`
    ... which is depended on by `stripe-rust v0.12.3`

As a workaround in cargo.toml this patch pulls in the yanked dependency:

[patch.crates-io]
crypto-mac = {git="https://github.com/RustCrypto/traits" , tag="crypto-mac-v0.6.2"}
seanpianka commented 2 years ago

Please pull the latest from GitHub using:

[dependencies]
stripe-rust = { git = "https://github.com/wyyerd/stripe-rs.git" }
fancywriter commented 2 years ago

@seanpianka any plans to make a release to include this change? It's more than 9 months since then...

arlyon commented 2 years ago

We (@seanpianka and I) don't have access to making releases. You will need to get ahold of someone at wyyerd (@kestred or @stearnsc )