summaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authoru <@>2026-03-11 06:19:08 +0200
committeru <@>2026-03-11 08:24:39 +0200
commit9bdd9eb5442bbdeefa08ea60fd966c8f9a83c543 (patch)
tree31ca975794ad966935ac44fe8a59765e9df9b227 /Cargo.toml
parentbfc2cabc3b0d6af8c7ca0496b7bd815fdbb658f6 (diff)
drop regex and handroll parser
the rustflags change, leaner parser, and dropping the regex crate yields a 4x binary size decrease, i can also see it runs around 2.5x faster
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml6
1 files changed, 0 insertions, 6 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 6ece893..057f95c 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,4 +1,3 @@
-cargo-features = ["profile-rustflags"]
[package]
name = "ataxia-rs"
version = "0.1.0"
@@ -13,17 +12,12 @@ worker = { version = "0.7", default-features = false }
# worker-macros = { version = "0.7" }
maud = { version = "0.27.0" }
num = { version = "0.4.3", default-features = false }
-regex = "1.12.3"
-
-#[target.'cfg(target_family="wasm")'] # why doesnt this work
[profile.release]
lto = true
strip = true
codegen-units = 1
-rustflags = ["-Cllvm-args=--mattr=+bulk-memory-opt,+simd128,+relaxed-simd,+tail-call,+extended-const"]
overflow-checks = false
opt-level = 3
[profile.dev]
-rustflags = ["-Cllvm-args=--mattr=+bulk-memory-opt,+simd128,+relaxed-simd,+tail-call,+extended-const"]
overflow-checks = false