Skip to content

Commit 830bcde

Browse files
committed
Add versions to crates.io patches
Without this running `cargo build` in the top-level directory on nightly produced an error for me: ``` error: failed to resolve patches for `https://github.com/rust-lang/crates.io-index` Caused by: patch for `wasm-bindgen-futures` in `https://github.com/rust-lang/crates.io-index` did not resolve to any crates. If this is unexpected, you may wish to consult: rust-lang/cargo#4678 ```
1 parent e3aabcb commit 830bcde

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Cargo.toml

+4-4
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ members = [
8585
exclude = ['crates/typescript']
8686

8787
[patch.crates-io]
88-
wasm-bindgen = { path = '.' }
89-
wasm-bindgen-futures = { path = 'crates/futures' }
90-
js-sys = { path = 'crates/js-sys' }
91-
web-sys = { path = 'crates/web-sys' }
88+
wasm-bindgen = { path = '.', version = '0.2.40' }
89+
wasm-bindgen-futures = { path = 'crates/futures', version = '0.3.17' }
90+
js-sys = { path = 'crates/js-sys', version = '0.3.17' }
91+
web-sys = { path = 'crates/web-sys', version = '0.3.17' }

0 commit comments

Comments
 (0)