aboutsummaryrefslogtreecommitdiffstats
path: root/Cargo.toml
diff options
context:
space:
mode:
authorMatt Strapp <matt@mattstrapp.net>2024-04-05 16:40:12 -0500
committerMatt Strapp <matt@mattstrapp.net>2024-04-05 16:40:12 -0500
commit925180e2dcb2b95cb2777a75e1491499c0d69936 (patch)
treec01a7936f87dc3ce82ce8734ee9c2381f2aa8029 /Cargo.toml
parentBump typescript from 5.4.3 to 5.4.4 (diff)
downloadzorascript-925180e2dcb2b95cb2777a75e1491499c0d69936.tar
zorascript-925180e2dcb2b95cb2777a75e1491499c0d69936.tar.gz
zorascript-925180e2dcb2b95cb2777a75e1491499c0d69936.tar.bz2
zorascript-925180e2dcb2b95cb2777a75e1491499c0d69936.tar.lz
zorascript-925180e2dcb2b95cb2777a75e1491499c0d69936.tar.xz
zorascript-925180e2dcb2b95cb2777a75e1491499c0d69936.tar.zst
zorascript-925180e2dcb2b95cb2777a75e1491499c0d69936.zip
Add rust
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml15
1 files changed, 15 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
new file mode 100644
index 0000000..3df8c92
--- /dev/null
+++ b/Cargo.toml
@@ -0,0 +1,15 @@
+[workspace]
+members = [
+ "libs/zora-rs",
+ "clients/www/src-tauri"
+]
+resolver = "2"
+package.authors = ["Matt Strapp <matt@mattstrapp.net>"]
+package.license = "MIT"
+
+[profile.release]
+panic = "abort" # Strip expensive panic clean-up logic
+codegen-units = 1 # Compile crates one after another so the compiler can optimize better
+lto = true # Enables link to optimizations
+opt-level = "s" # Optimize for binary size
+strip = true # Remove debug symbols