Skip to content

Commit

Permalink
Pin ryu dependency to 1.0.0 for emscripten targets (#703)
Browse files Browse the repository at this point in the history
  • Loading branch information
jstarry committed Oct 13, 2019
1 parent 3c76423 commit 0efcd34
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ yew-macro = { version = "0.9.0", path = "crates/macro" }
[target.'cfg(all(target_arch = "wasm32", not(cargo_web)))'.dependencies]
wasm-bindgen = "=0.2.50"

[target.'cfg(target_os = "emscripten")'.dependencies]
ryu = "=1.0.0" # 1.0.1 breaks emscripten

[dev-dependencies]
serde_derive = "1"
trybuild = "1.0"
Expand Down

0 comments on commit 0efcd34

Please sign in to comment.