Skip to content

Commit

Permalink
Attempt to reduce bundle size
Browse files Browse the repository at this point in the history
  • Loading branch information
lexara-prime-ai committed Jul 5, 2024
1 parent a50f64e commit 74404bd
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,16 @@ serde = { version = "1.0.203", features = ["derive"] }
serde_json = "1.0.119"
tokio = { version = "1.38.0", features = ["full"] }

# Strip symbols from the binary.
# [profile.release]
# strip = true

# Optimize for size.
[profile.release]
strip = true
opt-level = "z"

# [profile.release]
# opt-level = "z"

# Enable Link Time Optimization.
# Instructs the linker to optimize at the link stage.
# [profile.release]
# lto = true
# lto = true

0 comments on commit 74404bd

Please sign in to comment.