vertigo-cli 0.13.1

Reactive Real-DOM library with SSR for Rust - packaging/serving tool
Documentation
[package]
name = "my_app"
version = "0.1.0"
edition = "2024"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[lib]
crate-type = ["cdylib", "rlib"]

[dependencies]
vertigo = "0.13"

# Every visitor downloads this wasm before the page can do anything, so the release build
# is tuned for size - over 10% smaller than cargo's defaults. Most of that is `lto` and
# `codegen-units`, which let the linker drop the parts of vertigo the application never
# calls; fat LTO was measured against thin and saves nothing here.
#
# `opt-level = "z"` is smaller again, at the cost of runtime speed. Measure before taking it.
[profile.release]
opt-level = "s"
lto = "thin"
codegen-units = 1
strip = true