From 4d0a8140130ebd0f46744b86eeb2a708657a942e Mon Sep 17 00:00:00 2001 From: LLLL Colonq Date: Sun, 16 Feb 2025 22:55:43 -0500 Subject: Switch to workspace --- crates/client/Cargo.toml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 crates/client/Cargo.toml (limited to 'crates/client/Cargo.toml') diff --git a/crates/client/Cargo.toml b/crates/client/Cargo.toml new file mode 100644 index 0000000..a6f1653 --- /dev/null +++ b/crates/client/Cargo.toml @@ -0,0 +1,36 @@ +[package] +name = "newton_lib" +version.workspace = true +edition.workspace = true +authors.workspace = true + +[lib] +crate-type = ["cdylib", "rlib"] + +[[bin]] +name = "newton" +path = "src/main.rs" + +[dependencies] +# teleia = { path = "../teleia" } # engine +teleia = { git = "https://github.com/lcolonq/teleia" } # engine +glam = "*" # linear algebra +glow = "*" # gl bindings +bitflags = "*" # C-style bitwise flags +rand = "=0.8.5" # rng +log = "*" # logging +lazy_static = "*" # global constants +strum = {version = "*", features = ["derive"]} # utility macros for enums +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" +polling = "*" # polling sockets +termion = "*" \ No newline at end of file -- cgit v1.2.3