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
|
|
|
|
|
2021-01-16 06:30:48 +00:00
|
|
|
[dependencies]
|
2021-06-16 15:19:37 +00:00
|
|
|
dioxus-core = { path="../core", version="0.1.2" }
|
2021-01-16 06:30:48 +00:00
|
|
|
js-sys = "0.3"
|
2021-03-02 05:14:28 +00:00
|
|
|
wasm-bindgen = "0.2.71"
|
2021-01-16 06:30:48 +00:00
|
|
|
lazy_static = "1.4.0"
|
2021-02-12 21:11:33 +00:00
|
|
|
wasm-bindgen-futures = "0.4.20"
|
2021-02-13 07:49:10 +00:00
|
|
|
wasm-logger = "0.2.0"
|
|
|
|
log = "0.4.14"
|
2021-02-13 08:19:35 +00:00
|
|
|
fxhash = "0.2.1"
|
2021-02-17 15:53:55 +00:00
|
|
|
pretty_env_logger = "0.4.0"
|
|
|
|
console_error_panic_hook = "0.1.6"
|
2021-02-27 16:43:28 +00:00
|
|
|
generational-arena = "0.2.8"
|
2021-02-28 22:22:23 +00:00
|
|
|
wasm-bindgen-test = "0.3.21"
|
2021-03-08 02:28:20 +00:00
|
|
|
once_cell = "1.7.2"
|
2021-06-16 15:19:37 +00:00
|
|
|
atoms = { path="../atoms" }
|
2021-05-16 06:55:16 +00:00
|
|
|
|
|
|
|
# wasm-bindgen = "0.2.70"
|
|
|
|
# futures = "0.3.12"
|
2021-02-12 21:11:33 +00:00
|
|
|
# html-validation = { path = "../html-validation", version = "0.1.1" }
|
2021-01-16 06:30:48 +00:00
|
|
|
|
2021-03-14 00:11:06 +00:00
|
|
|
async-channel = "1.6.1"
|
2021-06-15 14:02:46 +00:00
|
|
|
wee_alloc = "0.4.5"
|
2021-03-14 00:11:06 +00:00
|
|
|
# futures-lite = "1.11.3"
|
|
|
|
|
2021-01-16 06:30:48 +00:00
|
|
|
[dependencies.web-sys]
|
2021-05-15 16:03:08 +00:00
|
|
|
version = "0.3.50"
|
2021-01-16 06:30:48 +00:00
|
|
|
features = [
|
|
|
|
"Comment",
|
|
|
|
"Document",
|
2021-06-17 03:37:55 +00:00
|
|
|
# "DataTransfer",
|
2021-01-16 06:30:48 +00:00
|
|
|
"Element",
|
|
|
|
"HtmlElement",
|
2021-02-26 17:58:03 +00:00
|
|
|
"HtmlInputElement",
|
2021-06-17 03:37:55 +00:00
|
|
|
"HtmlSelectElement",
|
|
|
|
"HtmlTextAreaElement",
|
2021-01-16 06:30:48 +00:00
|
|
|
"EventTarget",
|
|
|
|
"HtmlCollection",
|
|
|
|
"Node",
|
|
|
|
"NodeList",
|
|
|
|
"Text",
|
|
|
|
"Window",
|
|
|
|
"Event",
|
|
|
|
"MouseEvent",
|
|
|
|
"InputEvent",
|
2021-04-02 01:44:18 +00:00
|
|
|
"ClipboardEvent",
|
|
|
|
"KeyboardEvent",
|
|
|
|
"TouchEvent",
|
|
|
|
"WheelEvent",
|
|
|
|
"AnimationEvent",
|
|
|
|
"TransitionEvent",
|
|
|
|
"PointerEvent",
|
|
|
|
"FocusEvent",
|
|
|
|
"CompositionEvent",
|
2021-02-13 08:19:35 +00:00
|
|
|
"DocumentType",
|
2021-02-17 15:53:55 +00:00
|
|
|
"CharacterData",
|
2021-02-26 17:58:03 +00:00
|
|
|
"HtmlOptionElement",
|
2021-06-17 03:37:55 +00:00
|
|
|
|
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'
|
|
|
|
|
|
|
|
# debug = true
|
|
|
|
|
|
|
|
# [profile.release]
|
|
|
|
|
2021-02-15 19:14:28 +00:00
|
|
|
|
|
|
|
[lib]
|
|
|
|
crate-type = ["cdylib", "rlib"]
|
2021-03-29 16:31:47 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2021-06-16 15:19:37 +00:00
|
|
|
uuid = { version="0.8.2", features=["v4", "wasm-bindgen"] }
|
2021-04-01 04:01:42 +00:00
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "todomvc"
|
|
|
|
path = "./examples/todomvc/main.rs"
|