Cargo.toml 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. [package]
  2. name = "dioxus-router"
  3. version = "0.2.3"
  4. edition = "2018"
  5. description = "Cross-platform router for Dioxus apps"
  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. anyhow = "1.0.66"
  14. async-rwlock = "1.3.0"
  15. dioxus = { path="../dioxus" }
  16. dioxus-router-core = { path = "../router-core"}
  17. futures-channel = "0.3.25"
  18. futures-util = "0.3.25"
  19. log = "0.4.17"
  20. thiserror = "1.0.37"
  21. [features]
  22. regex = ["dioxus-router-core/regex"]
  23. serde = ["dioxus-router-core/serde"]
  24. web = ["dioxus-router-core/web"]
  25. [dev-dependencies]
  26. dioxus = { path = "../dioxus" }
  27. dioxus-ssr = { path = "../ssr" }
  28. [target.'cfg(not(target_family = "wasm"))'.dev-dependencies]
  29. dioxus-desktop = { path = "../desktop" }
  30. [target.'cfg(target_family = "wasm")'.dev-dependencies]
  31. dioxus-router = { path = ".", features = ["web"] }
  32. dioxus-web = { path= "../web" }