kitchen/web/Cargo.toml

52 lines
1012 B
TOML
Raw Normal View History

2022-01-13 18:07:01 -05:00
[package]
2022-02-19 16:34:08 -05:00
name = "kitchen-wasm"
2022-08-02 18:27:25 -04:00
version = "0.2.9"
2022-01-13 18:07:01 -05:00
edition = "2021"
[features]
ssr = []
web = []
default = ["web"]
2022-01-13 18:07:01 -05:00
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
crate-type = ["cdylib", "rlib"]
2022-01-13 18:07:01 -05:00
[dependencies]
recipes = { path = "../recipes" }
recipe-store = { path = "../recipe-store" }
2022-05-16 21:58:14 -04:00
reqwasm = "0.5.0"
# This makes debugging panics more tractable.
console_error_panic_hook = "0.1.7"
2022-02-16 21:30:31 -05:00
serde_json = "1.0.79"
tracing = "0.1.35"
tracing-browser-subscriber = "0.1.0"
async-trait = "0.1.57"
2022-01-23 14:28:01 -05:00
[dependencies.wasm-bindgen]
# we need wasm-bindgen v0.2.81 exactly
2022-08-03 18:31:45 -04:00
version = "= 0.2.81"
2022-02-16 21:30:31 -05:00
[dependencies.web-sys]
version = "0.3"
2022-07-15 19:30:06 -04:00
features = [
"Event",
"EventTarget",
"History",
"HtmlAnchorElement",
"HtmlBaseElement",
"KeyboardEvent",
"Location",
"PopStateEvent",
"Url",
"Window",
"Storage"
]
2022-01-13 18:07:01 -05:00
2022-01-25 20:32:17 -05:00
[dependencies.sycamore]
version = "0.7.1"
2022-03-30 18:42:55 -04:00
features = ["futures", "serde", "default"]
[profile.release]
lto = true
opt-level = "s"