build: Tweak Cargo.tomls

This commit is contained in:
Joel Therrien 2024-11-08 19:47:09 -08:00
parent 45fd522fff
commit 847a0bd427
3 changed files with 9 additions and 5 deletions

View file

@ -1,3 +1,7 @@
[workspace]
members = ["wordgrid", "wasm"]
members = ["wordgrid", "wasm", "server"]
resolver = "2"
[workspace.dependencies]
serde_json = "1.0.132"
serde = { version = "1.0.213", features = ["derive"] }

View file

@ -10,5 +10,5 @@ crate-type = ["cdylib"]
serde-wasm-bindgen = "0.6.5"
wasm-bindgen = "0.2.92"
word_grid = { version = "0.1.0", path = "../wordgrid" }
serde_json = "1.0"
serde = { version = "1.0.202", features = ["derive"] }
serde_json = { workspace = true }
serde = { workspace = true }

View file

@ -11,5 +11,5 @@ description = "A (WIP) package for playing 'WordGrid'."
csv = "1.3.0"
rand = {version = "0.8.5", features = ["small_rng"]}
getrandom = {version = "0.2", features = ["js"]}
serde_json = "1.0"
serde = { version = "1.0.202", features = ["derive"] }
serde_json = { workspace = true }
serde = { workspace = true }