recipes/frontend/Cargo.toml

68 lines
1.3 KiB
TOML

[package]
name = "frontend"
version = "0.1.0"
authors = ["Greg Burri <greg.burri@gmail.com>"]
edition = "2024"
[lib]
crate-type = ["cdylib"]
[dependencies]
common = { path = "../common" }
wasm-bindgen = "0.2"
wasm-bindgen-futures = "0.4"
# The `console_error_panic_hook` crate provides better debugging of panics by
# logging them with `console.error`.
console_error_panic_hook = { version = "0.1" }
chrono = { version = "0.4", features = ["serde", "unstable-locales"] }
ron = "0.10"
serde = { version = "1.0", features = ["derive"] }
serde_html_form = "0.2"
thiserror = "2"
futures = "0.3"
scanf = "1.2"
web-sys = { version = "0.3", features = [
"console",
"Document",
"Node",
"NodeList",
"Window",
"Location",
"EventTarget",
"DragEvent",
"DataTransfer",
"DomRect",
"KeyboardEvent",
"History",
"Element",
"DomStringMap",
"HtmlDocument",
"HtmlElement",
"MediaQueryList",
"HtmlDivElement",
"HtmlLabelElement",
"HtmlInputElement",
"HtmlImageElement",
"HtmlTextAreaElement",
"HtmlSelectElement",
"HtmlDialogElement",
"CssStyleDeclaration",
] }
gloo = { version = "0.11", default-features = false, features = [
"console",
"events",
"net",
"storage",
"timers",
"utils",
] }
wasm-cookies = "0.2"