blob: 6ece893c144f803075772d8b4ae4379bd83a9cfe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
cargo-features = ["profile-rustflags"]
[package]
name = "ataxia-rs"
version = "0.1.0"
edition = "2021"
authors = ["user"]
[lib]
crate-type = ["cdylib"]
[dependencies]
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
|