diff --git a/Cargo.toml b/Cargo.toml index f598f7a..7a76adc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,12 +1,5 @@ -[package] -name = "gamarjoba" -version = "0.1.0" -edition = "2021" - -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html - -[lib] -crate-type = ["cdylib"] - -[dependencies] -wasm-bindgen = "0.2.88" +[workspace] +resolver = "2" +members = [ + "checkerboard" +] diff --git a/checkerboard/Cargo.toml b/checkerboard/Cargo.toml new file mode 100644 index 0000000..f598f7a --- /dev/null +++ b/checkerboard/Cargo.toml @@ -0,0 +1,12 @@ +[package] +name = "gamarjoba" +version = "0.1.0" +edition = "2021" + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[lib] +crate-type = ["cdylib"] + +[dependencies] +wasm-bindgen = "0.2.88" diff --git a/index.html b/checkerboard/index.html similarity index 100% rename from index.html rename to checkerboard/index.html diff --git a/index.js b/checkerboard/index.js similarity index 100% rename from index.js rename to checkerboard/index.js diff --git a/src/lib.rs b/checkerboard/src/lib.rs similarity index 100% rename from src/lib.rs rename to checkerboard/src/lib.rs