WebAssembly / wasi-crypto

WASI Cryptography API Proposal
162 stars 25 forks source link

rust client bindings: fix the bound on num_enum #82

Closed elliottt closed 1 year ago

elliottt commented 1 year ago

The bound is currently "0.5.7" which allows version 0.5.8 to be selected, as it's compatible in terms of semver. However, this version introduces a build error in wasi-crypto, so we need to restrict to exactly 0.5.7.

Here's an example build failure in wasmtime: https://github.com/bytecodealliance/wasmtime/actions/runs/3880277713/jobs/6618200924

jedisct1 commented 1 year ago

Version 0.5.8 of num_enum was a buggy release, but it has been yank'd shortly after it was released.

So 0.5.7 is still the latest version, and the one cargo upgrade/cargo update will pick.

elliottt commented 1 year ago

Ah perfect, I hadn't seen that it had been updated. Thanks!