diff options
| author | LLLL Colonq <llll@colonq> | 2025-01-22 09:26:41 -0500 |
|---|---|---|
| committer | LLLL Colonq <llll@colonq> | 2025-01-22 09:26:41 -0500 |
| commit | f448de77d84b985047a332150c0382adc1836899 (patch) | |
| tree | 3003bfa2f8a74e08986ee6c0de7ad52edceb8302 /Cargo.toml | |
Initial commit
Diffstat (limited to 'Cargo.toml')
| -rw-r--r-- | Cargo.toml | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..451e00e --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,38 @@ +[package] +name = "newton_lib" +version = "0.1.0" +authors = ["LLLL Colonq <llll@colonq.computer>"] +edition = "2021" + +[lib] +crate-type = ["cdylib", "rlib"] + +[[bin]] +name = "newton" +path = "src/main.rs" + +[profile.release] +opt-level = 2 +codegen-units = 1 + +[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 + +[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"] }
\ No newline at end of file |
