summaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorLLLL Colonq <llll@colonq>2024-08-16 15:29:23 -0400
committerLLLL Colonq <llll@colonq>2024-08-16 15:29:23 -0400
commit7874c1d28bccbd4e089e0a7a2a8c8ad005aa09e8 (patch)
treeb3dd88f550b7e1b77a8ab63759362fba405f0ac4 /Cargo.toml
parent2b0a405e36e346ff1b8fe33cc359918b210ef6f3 (diff)
Update
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml5
1 files changed, 4 insertions, 1 deletions
diff --git a/Cargo.toml b/Cargo.toml
index b74c31d..6a7fdc1 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -4,6 +4,9 @@ version = "0.1.0"
authors = ["LLLL Colonq <llll@colonq.computer>"]
edition = "2021"
+[lib]
+crate-type = ["cdylib", "rlib"]
+
[profile.release]
opt-level = 2
codegen-units = 1
@@ -27,7 +30,7 @@ console_error_panic_hook = "*" # log to browser console on panic
tracing-wasm = "*" # trace performance in browser
wasm-bindgen = "*" # interface with javascript
wasm-bindgen-futures = "*" # interface with async javascript
-js-sys = "*"
+js-sys = "*" # browser APIs to interact with JS runtime (e.g. run WASM)
[dependencies.web-sys] # common browser APIs
version = "*"