Cargo.toml 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. [package]
  2. name = "dioxus-router"
  3. version = "0.1.0"
  4. edition = "2018"
  5. description = "Dioxus VirtualDOM renderer for the web browser using websys"
  6. license = "MIT/Apache-2.0"
  7. repository = "https://github.com/DioxusLabs/dioxus/"
  8. homepage = "https://dioxuslabs.com"
  9. documentation = "https://dioxuslabs.com"
  10. keywords = ["dom", "ui", "gui", "react", "wasm"]
  11. # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
  12. [dependencies]
  13. dioxus-core = { path = "../core", version = "^0.1.3", default-features = false }
  14. dioxus-html = { path = "../html", version = "^0.1.0", default-features = false }
  15. dioxus-core-macro = { path = "../core-macro", version = "^0.1.2" }
  16. serde = "1"
  17. url = "2.2.2"
  18. serde_urlencoded = "0.7"
  19. web-sys = { version = "0.3", features = [
  20. "Attr",
  21. "Document",
  22. "History",
  23. "HtmlBaseElement",
  24. "Event",
  25. "NamedNodeMap",
  26. "Url",
  27. "UrlSearchParams",
  28. "Window",
  29. ], optional = true }
  30. wasm-bindgen = { version = "0.2", optional = true }
  31. js-sys = { version = "0.3", optional = true }
  32. gloo = { version = "0.5", optional = true }
  33. [features]
  34. default = ["derive"]
  35. web = ["web-sys"]
  36. desktop = []
  37. mobile = []
  38. derive = []
  39. [dev-dependencies]
  40. console_error_panic_hook = "0.1.7"
  41. dioxus-web = { path = "../web" }
  42. log = "0.4.14"
  43. wasm-logger = "0.2.0"