summaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml15
1 files changed, 9 insertions, 6 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 9e3073e..365f32f 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -3,9 +3,12 @@ name = "tortuise-script"
version = "0.1.0"
edition = "2024"
-[dependencies]
-log = "0.4"
-messagepack-serde = "0.2"
-rand = { version = "0.10", default-features = false }
-serde = "1"
-talc = "5"
+[workspace]
+members = ["platforms/tortuise-script-compiled", "platforms/tortuise-script-wasm"]
+
+[target.'cfg(target_arch = "wasm32")'.dependencies]
+tortuise-script-wasm = { path = "platforms/tortuise-script-wasm" }
+
+[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
+tortuise-script-compiled = { path = "platforms/tortuise-script-compiled" }
+