Skip to content

Commit

Permalink
Wasm fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
tychedelia committed Jun 17, 2024
1 parent 3fdc688 commit b1e1086
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nannou/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,10 @@ web-sys = { version = "0.3.64", optional = true }

[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
tokio = { version = "1", features = ["full"]}
image = { version = "0.25", features = ["default"] }
[target.'cfg(target_arch = "wasm32")'.dependencies]
tokio = { version = "1", features = ["rt"]}
image = { version = "0.25", features = [], default-features = false }

[features]
default = ["notosans"]
Expand Down

0 comments on commit b1e1086

Please sign in to comment.