dioxus/packages/interpreter/Cargo.toml

47 lines
1.6 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 Interpreter 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 }
wasm-bindgen-futures = { 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 = { version = "0.6.0", default-features = false, optional = true }
sledgehammer_utils = { version = "0.3.1", optional = true }
2023-03-20 21:10:34 +00:00
serde = { version = "1.0", features = ["derive"], optional = true }
rustc-hash = { workspace = true, 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-core-types = { workspace = true, optional = true }
2024-01-18 12:07:28 +00:00
dioxus-html = { workspace = true, optional = true }
2024-03-07 02:43:07 +00:00
[build-dependencies]
lazy-js-bundle = { workspace = true }
2024-03-07 02:43:07 +00:00
2022-02-04 06:56:54 +00:00
[features]
default = []
serialize = ["dep:serde"]
sledgehammer = ["dep:sledgehammer_bindgen", "dep:sledgehammer_utils", "dep:rustc-hash"]
2024-01-19 03:27:55 +00:00
webonly = [
2024-01-18 12:07:28 +00:00
"sledgehammer",
"dep:wasm-bindgen",
"dep:wasm-bindgen-futures",
"dep:js-sys",
"dep:web-sys",
2024-01-18 12:07:28 +00:00
"sledgehammer_bindgen/web",
]
binary-protocol = ["sledgehammer", "dep:dioxus-core", "dep:dioxus-core-types", "dep:dioxus-html"]
minimal_bindings = []