iwaku config changes, load changes, hypr support only IF passed the same as zshell
This commit is contained in:
+7
-19
@@ -1,39 +1,27 @@
|
||||
[package]
|
||||
name = "rs-pictures"
|
||||
name = "iwaku"
|
||||
version = "0.1.0"
|
||||
edition = "2024"
|
||||
|
||||
[[bin]]
|
||||
name = "rs-pictures"
|
||||
name = "iwaku"
|
||||
path = "src/main.rs"
|
||||
|
||||
[dependencies]
|
||||
# Image loading and encoding
|
||||
image = { version = "0.25", features = ["png", "jpeg"] }
|
||||
|
||||
# 2D rendering for effects (rounded corners, drop shadow)
|
||||
image = { version = "0.25", features = ["png"] }
|
||||
tiny-skia = "0.11"
|
||||
|
||||
# Config serialization
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
|
||||
# Error handling
|
||||
anyhow = "1"
|
||||
serde_json = "1.0.149"
|
||||
|
||||
# ── Build profiles ────────────────────────────────────────────────────────────
|
||||
|
||||
[profile.release]
|
||||
opt-level = 3
|
||||
lto = "thin" # link-time optimisation across crates
|
||||
codegen-units = 1 # better inlining at the cost of compile time
|
||||
strip = true # strip debug symbols → smaller binary
|
||||
lto = "thin"
|
||||
codegen-units = 1
|
||||
strip = true
|
||||
|
||||
# Dev builds are slow for pixel-processing code. This gives opt-level 2
|
||||
# to our own crate only while keeping dependencies at their default (opt=3
|
||||
# they already compiled with), so incremental rebuilds stay fast.
|
||||
[profile.dev]
|
||||
opt-level = 0
|
||||
|
||||
[profile.dev.package."*"]
|
||||
opt-level = 3 # all deps at full optimisation even in dev mode
|
||||
opt-level = 3
|
||||
|
||||
Reference in New Issue
Block a user