diff --git a/Cargo.toml b/Cargo.toml index ac17259..8844b4e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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"] } \ No newline at end of file diff --git a/wasm/Cargo.toml b/wasm/Cargo.toml index 8905a85..1590234 100644 --- a/wasm/Cargo.toml +++ b/wasm/Cargo.toml @@ -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"] } \ No newline at end of file +serde_json = { workspace = true } +serde = { workspace = true } \ No newline at end of file diff --git a/wordgrid/Cargo.toml b/wordgrid/Cargo.toml index 924b9e8..e44d62c 100644 --- a/wordgrid/Cargo.toml +++ b/wordgrid/Cargo.toml @@ -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 }