Skip to content

Commit

Permalink
Fix format in Cargo.tomls
Browse files Browse the repository at this point in the history
  • Loading branch information
haihala committed Dec 6, 2024
1 parent 6a14ce0 commit 90f5ec3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion examples/bevy_ggrs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ serde_qs = "0.13"
wasm-bindgen = "0.2"
# Temp solution, I got bevy_ggrs to compile with bevy 0.15
# Should be version 0.17 eventually
bevy_ggrs = { git = "https://github.com/haihala/bevy_ggrs.git", branch = "main", features = ["wasm-bindgen"] }
bevy_ggrs = { git = "https://github.com/haihala/bevy_ggrs.git", branch = "main", features = [
"wasm-bindgen",
] }

[dependencies]
bevy_matchbox = { path = "../../bevy_matchbox", features = ["ggrs"] }
Expand Down
4 changes: 3 additions & 1 deletion matchbox_socket/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ ggrs = { git = "https://github.com/gschup/ggrs", default-features = false, optio
bincode = { version = "1.3", default-features = false, optional = true }

[target.'cfg(target_arch = "wasm32")'.dependencies]
ggrs = { git = "https://github.com/gschup/ggrs", default-features = false, optional = true, features = [ "wasm-bindgen" ]}
ggrs = { git = "https://github.com/gschup/ggrs", default-features = false, optional = true, features = [
"wasm-bindgen",
] }
ws_stream_wasm = { version = "0.7", default-features = false }
wasm-bindgen-futures = { version = "0.4", default-features = false }
wasm-bindgen = { version = "0.2", default-features = false }
Expand Down

0 comments on commit 90f5ec3

Please sign in to comment.