Skip to content

Commit af876d2

Browse files
committed
refactor(build): remove redundant build configurations
1 parent c08eab4 commit af876d2

File tree

3 files changed

+0
-19
lines changed

3 files changed

+0
-19
lines changed

Cargo.toml

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,3 @@
11
[workspace]
22
members = ["momenta-macros", "momenta", "tests", "docs"]
33
resolver = "3"
4-
5-
[profile.release]
6-
# Maximum size optimization
7-
opt-level = "z" # Optimize for size
8-
lto = true # Link-time optimization
9-
codegen-units = 1 # Single codegen unit for better optimization
10-
panic = "abort" # Remove panic handling code
11-
strip = true # Strip debug symbols
12-
overflow-checks = false # Remove overflow checks in release
13-
14-
# Additional size optimizations
15-
[profile.release.package."*"]
16-
opt-level = "z"

docs/Cargo.toml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,3 @@ metadata.workspace = true
77
[dependencies]
88
momenta = { path = "../momenta", features = ["wasm"] }
99
wasm-bindgen = { version = "0.2" }
10-
11-
# Build script for wasm-opt
12-
[package.metadata.wasm-pack]
13-
[package.metadata.wasm-pack.profile.release]
14-
wasm-opt = false

trunk.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ target = "./docs/index.html"
33
public_url = "/"
44
release = true
55
manifest-path = "./docs/Cargo.toml"
6-
minify = "never"
76

87
[watch]
98
watch = ["./docs/src", "./docs/static"]

0 commit comments

Comments
 (0)