Skip to content

Commit

Permalink
Merge pull request #9 from sdasda7777/sdasda7777_pages9
Browse files Browse the repository at this point in the history
Try setting bindgen version explicitly?
  • Loading branch information
sdasda7777 authored Nov 24, 2023
2 parents b7e91f2 + a895e8f commit 9230f72
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,17 @@ name = "minesweeper6d"
version = "0.1.2"

[dependencies]
getrandom = { version = "0.2", features = ["js"] }
eframe = "0.24"
hhmmss = "0.1"
itertools = "0.11"
rand = "0.8"
rand_chacha = "0.3"
toml = "0.8"

# native:
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
env_logger = "0.10"

# web:
[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen-futures = "0.4"
getrandom = { version = "0.2", features = ["js"] }
wasm-bindgen = "=0.2.84"

[profile.release]
opt-level = 2 # fast and small wasm
Expand Down

0 comments on commit 9230f72

Please sign in to comment.