aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorsrdusr <trevorgray@srdusr.com>2025-09-26 13:39:28 +0200
committersrdusr <trevorgray@srdusr.com>2025-09-26 13:39:28 +0200
commit8d60c7f93407988ee0232ea90980028f299cb0f3 (patch)
treeb343b691d1bce64fb3bc9b40324857486f2be244 /Cargo.toml
parent76f0d0e902e6ed164704572bd81faa5e5e560cf3 (diff)
downloadtyperpunk-8d60c7f93407988ee0232ea90980028f299cb0f3.tar.gz
typerpunk-8d60c7f93407988ee0232ea90980028f299cb0f3.zip
Initial Commit
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml54
1 files changed, 37 insertions, 17 deletions
diff --git a/Cargo.toml b/Cargo.toml
index b2209a5..c278703 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,21 +1,41 @@
-[package]
-name = "typerpunk"
+[workspace]
+members = [
+ "crates/core",
+ "crates/tui",
+ "crates/wasm"
+]
+resolver = "2"
+
+[workspace.package]
version = "0.1.0"
edition = "2021"
+authors = ["Your Name <your.email@example.com>"]
+license = "MIT"
+description = "A modern typing test application with TUI and web interfaces"
+
+[workspace.dependencies]
+# Core dependencies
+tokio = { version = "1.0", features = ["full"] }
+serde = { version = "1.0", features = ["derive"] }
+serde_json = "1.0"
+anyhow = "1.0"
+thiserror = "1.0"
+config = "0.13"
+dirs = "5.0"
+rlua = "0.19"
+rand = "0.8"
+
+# Terminal UI
+crossterm = "0.27"
+ratatui = "0.24"
-[dependencies]
-crossterm = "0.27.0"
-tui = { version = "0.19.0", features = ["crossterm"], default-features = false }
-termion = "3.0.0"
-rand = "0.8.5"
-paragraph = "0.0.2"
-console = "0.15.8"
-ansi_term = "0.12.1"
-serde_json = "1.0.114"
-regex = "1.6.1"
-ureq = "2.9.6"
-tokio = { version = "1.36.0", features = ["full"] }
+# Web/WASM
+wasm-bindgen = "0.2"
+js-sys = "0.3"
+web-sys = "0.3"
+wasm-bindgen-futures = "0.4"
+wasm-timer = "0.2"
-[[bin]]
-name = "typerpunk"
-path = "src/main.rs"
+# Networking
+tokio-tungstenite = { version = "0.20", features = ["native-tls"] }
+futures-util = "0.3"