dioxus/packages/web/Cargo.toml

86 lines
2 KiB
TOML
Raw Normal View History

2021-01-15 01:56:28 +00:00
[package]
name = "dioxus-web"
version = "0.0.0"
authors = ["Jonathan Kelley <jkelleyrtp@gmail.com>"]
edition = "2018"
2021-02-28 22:22:23 +00:00
description = "Dioxus VirtualDOM renderer for the web browser using websys"
license = "MIT/Apache-2.0"
2021-01-15 01:56:28 +00:00
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
2021-07-14 06:30:41 +00:00
dioxus-core = { path = "../core", version = "0.1.2" }
dioxus-html = { path = "../html" }
js-sys = "0.3"
2021-07-14 06:30:41 +00:00
wasm-bindgen = { version = "0.2.71", features = ["enable-interning"] }
lazy_static = "1.4.0"
2021-02-12 21:11:33 +00:00
wasm-bindgen-futures = "0.4.20"
log = "0.4.14"
fxhash = "0.2.1"
wasm-logger = "0.2.0"
2021-02-17 15:53:55 +00:00
console_error_panic_hook = "0.1.6"
generational-arena = "0.2.8"
2021-02-28 22:22:23 +00:00
wasm-bindgen-test = "0.3.21"
2021-07-20 23:03:49 +00:00
once_cell = "1.8"
2021-06-23 05:44:48 +00:00
async-channel = "1.6.1"
2021-07-27 04:27:07 +00:00
anyhow = "1.0"
2021-08-09 21:09:33 +00:00
gloo-timers = { version = "0.2.1", features = ["futures"] }
futures-util = "0.3.15"
[dependencies.web-sys]
2021-07-31 02:14:06 +00:00
version = "0.3.51"
features = [
"Comment",
2021-07-05 05:11:49 +00:00
"Attr",
"Document",
"Element",
2021-08-06 02:23:41 +00:00
"CssStyleDeclaration",
"HtmlElement",
2021-02-26 17:58:03 +00:00
"HtmlInputElement",
2021-06-17 03:37:55 +00:00
"HtmlSelectElement",
"HtmlTextAreaElement",
"EventTarget",
"HtmlCollection",
"Node",
"NodeList",
"Text",
"Window",
"Event",
"MouseEvent",
"InputEvent",
2021-04-02 01:44:18 +00:00
"ClipboardEvent",
2021-07-05 05:11:49 +00:00
"NamedNodeMap",
2021-04-02 01:44:18 +00:00
"KeyboardEvent",
"TouchEvent",
"WheelEvent",
"AnimationEvent",
"TransitionEvent",
"PointerEvent",
"FocusEvent",
"CompositionEvent",
2021-07-31 02:14:06 +00:00
"ClipboardEvent",
"DocumentType",
2021-02-17 15:53:55 +00:00
"CharacterData",
2021-07-21 21:05:48 +00:00
"SvgElement",
"SvgAnimatedString",
2021-02-26 17:58:03 +00:00
"HtmlOptionElement",
2021-05-16 06:55:16 +00:00
]
2021-02-15 19:14:28 +00:00
[profile.release]
2021-06-15 14:02:46 +00:00
lto = true
opt-level = 's'
2021-02-15 19:14:28 +00:00
[lib]
crate-type = ["cdylib", "rlib"]
2021-03-29 16:31:47 +00:00
[dev-dependencies]
im-rc = "15.0.0"
# rand = { version="0.8.4", features=["small_rng"] }
2021-07-05 05:11:49 +00:00
separator = "0.4.1"
2021-07-14 06:30:41 +00:00
uuid = { version = "0.8.2", features = ["v4", "wasm-bindgen"] }
dioxus-hooks = { path = "../hooks" }
serde = { version = "1.0.126", features = ["derive"] }
2021-07-31 02:14:06 +00:00
surf = { git = "https://github.com/http-rs/surf", rev = "1ffaba8873", default-features = false, features = [
"wasm-client",
] }
# wasm-timer = "0.2.5"