Skip to content

Commit

Permalink
Use [patch] to get wasm working temporarily
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrichton committed Oct 16, 2018
1 parent 92c650c commit 930dacf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ futures = { version = "0.1", optional = true }
miniz_oxide_c_api = { version = "0.1", optional = true, features = ["no_c_export"]}

[target.'cfg(target_arch = "wasm32")'.dependencies]
miniz_oxide_c_api = { version = "0.1", optional = false, features = ["no_c_export"]}
miniz_oxide_c_api = { version = "0.1", features = ["no_c_export"] }

[dev-dependencies]
rand = "0.5"
Expand All @@ -44,3 +44,6 @@ tokio = ["tokio-io", "futures"]
[badges]
travis-ci = { repository = "alexcrichton/flate2-rs" }
appveyor = { repository = "alexcrichton/flate2-rs" }

[patch.crates-io]
miniz_oxide_c_api = { git = '/~https://github.com/Frommi/miniz_oxide' }

0 comments on commit 930dacf

Please sign in to comment.