dioxus/packages/interpreter/Cargo.toml

40 lines
1.3 KiB
TOML
Raw Normal View History

2022-02-01 20:38:48 +00:00
[package]
name = "dioxus-interpreter-js"
version = { workspace = true }
2024-01-19 03:27:55 +00:00
edition = "2021"
authors = ["Jonathan Kelley"]
description = "JS Intepreter for Dioxus - a concurrent renderer-agnostic Virtual DOM for interactive user experiences"
license = "MIT OR Apache-2.0"
repository = "https://github.com/DioxusLabs/dioxus/"
homepage = "https://dioxuslabs.com"
documentation = "https://docs.rs/dioxus"
keywords = ["dom", "ui", "gui", "react", "wasm"]
2022-02-01 20:38:48 +00:00
[dependencies]
2023-06-19 19:29:11 +00:00
wasm-bindgen = { workspace = true, optional = true }
2022-02-04 06:56:54 +00:00
js-sys = { version = "0.3.56", optional = true }
2024-01-18 12:07:28 +00:00
web-sys = { version = "0.3.56", optional = true, features = [
"Element",
"Node",
] }
sledgehammer_bindgen = { git = "https://github.com/ealmloff/sledgehammer_bindgen", default-features = false, optional = true }
2023-07-19 20:45:47 +00:00
sledgehammer_utils = { version = "0.2", optional = true }
2023-03-20 21:10:34 +00:00
serde = { version = "1.0", features = ["derive"], optional = true }
2022-02-04 06:56:54 +00:00
2024-01-18 12:07:28 +00:00
dioxus-core = { workspace = true, optional = true }
dioxus-html = { workspace = true, optional = true }
2022-02-04 06:56:54 +00:00
[features]
default = []
2023-03-20 21:10:34 +00:00
serialize = ["serde"]
2023-10-09 19:28:12 +00:00
sledgehammer = ["sledgehammer_bindgen", "sledgehammer_utils"]
2024-01-19 03:27:55 +00:00
webonly = [
2024-01-18 12:07:28 +00:00
"sledgehammer",
"wasm-bindgen",
"js-sys",
"web-sys",
"sledgehammer_bindgen/web",
]
binary-protocol = ["sledgehammer", "dioxus-core", "dioxus-html"]
minimal_bindings = []