summaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorLLLL Colonq <llll@colonq>2025-02-16 22:55:43 -0500
committerLLLL Colonq <llll@colonq>2025-02-16 22:55:43 -0500
commit4d0a8140130ebd0f46744b86eeb2a708657a942e (patch)
tree6b1a11e07173c769d0f3522c2f6088409b69332d /Cargo.toml
parent33d69b282e082acce3c5d36cc08cd99a7ccf738d (diff)
Switch to workspace
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml38
1 files changed, 7 insertions, 31 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 05f42bb..d1f9f0f 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,15 +1,14 @@
-[package]
-name = "newton_lib"
+[workspace]
+resolver = "2"
+members = ["crates/*"]
+
+[workspace.package]
version = "0.1.0"
-authors = ["LLLL Colonq <llll@colonq.computer>"]
edition = "2021"
+authors = ["LLLL Colonq <llll@colonq.computer>"]
-[lib]
-crate-type = ["cdylib", "rlib"]
-
-[[bin]]
+[workspace.metadata.crane]
name = "newton"
-path = "src/main.rs"
[profile.release]
opt-level = 2
@@ -20,26 +19,3 @@ strip = true
[profile.dev.package."*"]
opt-level = 2
-
-[dependencies]
-teleia = { path = "../teleia" } # engine
-glam = "*" # linear algebra
-glow = "*" # gl bindings
-bitflags = "*" # C-style bitwise flags
-rand = "*" # rng
-log = "*" # logging
-lazy_static = "*" # global constants
-strum = {version = "*", features = ["derive"]} # utility macros for enums
-polling = "*" # polling sockets
-lexpr = "*" # s-expression parsing
-
-[target.'cfg(target_arch = "wasm32")'.dependencies]
-wasm-bindgen = "*" # wasm bindings
-wasm-bindgen-futures = "*" # interface with async javascript
-
-[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
-env_logger = "*"
-tokio = { version = "*", features = ["full"] }
-clap = { version = "*", features = ["cargo"] }
-base64 = "0.22.1"
-termion = "*" \ No newline at end of file