Skip to content

Instantly share code, notes, and snippets.

@mcihad
Created August 21, 2025 12:36
Show Gist options
  • Save mcihad/73507b9bcd7ae6a7a45e9548060f0064 to your computer and use it in GitHub Desktop.
Save mcihad/73507b9bcd7ae6a7a45e9548060f0064 to your computer and use it in GitHub Desktop.
[package]
name = "deneme"
version = "0.1.0"
edition = "2024"
[dependencies]
handlebars = "6.3.2"
rocket = "0.5.1"
# Build profile tweaks to speed up iteration and improve release build throughput.
# - [profile.dev]: faster incremental dev builds with modest optimization and more codegen units.
# - [profile.release]: parallel codegen + thin LTO for faster optimized release builds.
[profile.dev]
opt-level = 1
debug = true
incremental = true
codegen-units = 16
[profile.release]
opt-level = 3
debug = false
incremental = false
codegen-units = 16
# Thin LTO gives near-LTO performance with much faster link times than full LTO.
lto = "thin"
# Abort on panic in release to reduce binary size and improve inlining (optional).
panic = "abort"
overflow-checks = false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment