37 lines
1.0 KiB
TOML
37 lines
1.0 KiB
TOML
[package]
|
|
name = "web1"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
description = "Template for starting a Yew project using Trunk"
|
|
readme = "README.md"
|
|
repository = "https://github.com/yewstack/yew-trunk-minimal-template"
|
|
license = "MIT OR Apache-2.0"
|
|
keywords = ["yew", "trunk"]
|
|
categories = ["gui", "wasm", "web-programming"]
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
[dependencies]
|
|
yew = { version="0.21", features=["csr"] }
|
|
yew-router = "0.18"
|
|
web-sys = { version = "0.3", features = [
|
|
"Document",
|
|
"HtmlElement",
|
|
"Window",
|
|
"DragEvent",
|
|
"Element",
|
|
"HtmlInputElement",
|
|
"HtmlTextAreaElement",
|
|
"HtmlSelectElement",
|
|
"MouseEvent",
|
|
"Event"
|
|
] }
|
|
wasm-bindgen = "0.2"
|
|
gloo-utils = "0.1"
|
|
gloo-storage = "0.2"
|
|
gloo-net = "0.4"
|
|
wasm-bindgen-futures = "0.4"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0" # Added for JSON serialization/deserialization
|
|
chrono = { version = "0.4", features = ["serde", "wasmbind"] }
|
|
pulldown-cmark = "0.9"
|
|
html-escape = "0.2" |