Cargo.toml 1.3 KB

123456789101112131415161718192021222324252627282930
  1. [package]
  2. name = "dioxus-interpreter-js"
  3. version = { workspace = true }
  4. edition = "2018"
  5. authors = ["Jonathan Kelley"]
  6. description = "JS Intepreter for Dioxus - a concurrent renderer-agnostic Virtual DOM for interactive user experiences"
  7. license = "MIT OR Apache-2.0"
  8. repository = "https://github.com/DioxusLabs/dioxus/"
  9. homepage = "https://dioxuslabs.com"
  10. documentation = "https://docs.rs/dioxus"
  11. keywords = ["dom", "ui", "gui", "react", "wasm"]
  12. [dependencies]
  13. wasm-bindgen = { workspace = true, optional = true }
  14. js-sys = { version = "0.3.56", optional = true }
  15. web-sys = { version = "0.3.56", optional = true, features = ["Element", "Node"] }
  16. sledgehammer_bindgen = { git = "https://github.com/ealmloff/sledgehammer_bindgen", default-features = false, optional = true }
  17. sledgehammer_utils = { version = "0.2", optional = true }
  18. serde = { version = "1.0", features = ["derive"], optional = true }
  19. dioxus-core = { workspace = true , optional = true }
  20. dioxus-html = { workspace = true , optional = true }
  21. [features]
  22. default = []
  23. serialize = ["serde"]
  24. sledgehammer = ["sledgehammer_bindgen", "sledgehammer_utils"]
  25. web = ["sledgehammer", "wasm-bindgen", "js-sys", "web-sys", "sledgehammer_bindgen/web"]
  26. binary-protocol = ["sledgehammer", "wasm-bindgen", "dioxus-core", "dioxus-html"]
  27. minimal_bindings = []