Switch over to WebAssembly, Rust and Yew #35

Merged
BlakeRain merged 87 commits from yew-static into main 2023-08-30 18:01:40 +00:00
2 changed files with 5 additions and 1 deletions
Showing only changes of commit 7bf610af07 - Show all commits

View File

@ -4,6 +4,10 @@ version = "2.0.0"
edition = "2021" edition = "2021"
publish = false publish = false
[profile.release]
lto = true
opt-level = 'z'
[features] [features]
hydration = [ hydration = [
"yew/hydration" "yew/hydration"

View File

@ -10,7 +10,7 @@
href="https://fonts.googleapis.com/css2?family=Noto+Serif:wght@400;700&family=Roboto:wght@100;300;400;500;700&family=Source+Code+Pro:wght@400;700&display=swap" href="https://fonts.googleapis.com/css2?family=Noto+Serif:wght@400;700&family=Roboto:wght@100;300;400;500;700&family=Source+Code+Pro:wght@400;700&display=swap"
rel="stylesheet" rel="stylesheet"
/> />
<link data-trunk rel="rust" data-bin="site" /> <link data-trunk rel="rust" data-bin="site" data-wasm-opt="z" />
<link data-trunk rel="css" href="target/main.css" /> <link data-trunk rel="css" href="target/main.css" />
<link data-trunk rel="copy-dir" href="public/media" /> <link data-trunk rel="copy-dir" href="public/media" />
<link data-trunk rel="copy-dir" href="public/content" /> <link data-trunk rel="copy-dir" href="public/content" />