mirror of
https://github.com/leptos-rs/leptos
synced 2024-11-10 06:44:17 +00:00
571e778bce
Pass dependency needed for template, and also hide them behind feature guide, to avoid compile time bloating.
22 lines
519 B
TOML
22 lines
519 B
TOML
[package]
|
|
name = "js-framework-benchmark-leptos"
|
|
version = "1.0.0"
|
|
edition = "2021"
|
|
|
|
[profile.release]
|
|
codegen-units = 1
|
|
lto = true
|
|
|
|
[dependencies]
|
|
leptos = { path = "../../leptos", features=["template_macro"] }
|
|
console_log = "1"
|
|
log = "0.4"
|
|
# used in rand, but we need to enable js feature
|
|
getrandom = { version = "0.2.7", features = ["js"] }
|
|
rand = { version = "0.8.5", features = ["small_rng"] }
|
|
console_error_panic_hook = "0.1.7"
|
|
|
|
[dev-dependencies]
|
|
wasm-bindgen = "0.2"
|
|
wasm-bindgen-test = "0.3.0"
|
|
web-sys = "0.3"
|