summaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml37
1 files changed, 37 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
new file mode 100644
index 0000000..504845a
--- /dev/null
+++ b/Cargo.toml
@@ -0,0 +1,37 @@
+[package]
+name = "kharcho"
+version = "0.1.0"
+authors = ["LLLL Colonq <llll@colonq.computer>"]
+edition = "2021"
+
+[lib]
+crate-type = ["cdylib", "rlib"]
+
+[[bin]]
+name = "kharcho"
+path = "src/main.rs"
+
+[profile.release]
+strip = true
+opt-level = 3
+lto = true
+codegen-units = 1
+panic = "abort"
+
+[profile.dev]
+debug = false
+
+[profile.dev.package."*"]
+opt-level = 2
+
+[dependencies]
+teleia = { git = "https://github.com/lcolonq/teleia" } # engine
+glam = {version = "0.29.2", features = ["serde"]} # linear algebra
+bitflags = { version = "2.6.0", features = ["serde"] } # C-style bitwise flags
+rand = { version = "=0.8.5", features = ["small_rng"] } # rng
+log = "0.4.21" # logging
+lazy_static = "*" # global constants
+strum = {version = "0.27.1", features = ["derive"]} # utility macros for enums
+
+[target.'cfg(target_arch = "wasm32")'.dependencies]
+wasm-bindgen = "=0.2.100" # wasm bindings \ No newline at end of file