Skip to content

Commit

Permalink
build: update package metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
simbleau committed Apr 30, 2024
1 parent 50739d5 commit 5bff723
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,18 +1,22 @@
[package]
name = "website"
description = "Personal website of Spencer C. Imbleau"
version = "0.1.0"
edition = "2021"
license = "MIT OR Apache-2.0"
repository = "https://github.com/simbleau/website"
publish = false
# FIXME: After https://doc.rust-lang.org/cargo/reference/unstable.html#per-package-target
# forced-target = "wasm32-unknown-unknown"

# In the future, hopefully trunk supports `--profile web-profile`,
# and we can rename this profile.
# See: https://github.com/trunk-rs/trunk/issues/605
[profile.release]
# less code to include into binary
panic = 'abort'
# link time optimization using using whole-program analysis
opt-level = 'z'
panic = "abort"
lto = true
# optimization over all codebase ( better optimization, slower build )
codegen-units = 1
# optimization for size (aggressive)
opt-level = 'z'
# Strip debug symbols and info
strip = "debuginfo"

[dependencies]
Expand Down

0 comments on commit 5bff723

Please sign in to comment.