1
0

Cargo.toml 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. [package]
  2. name = "dioxus-router"
  3. authors = ["Jonathan Kelley", "Evan Almloff"]
  4. version = { workspace = true }
  5. edition = "2021"
  6. description = "Cross-platform router for Dioxus apps"
  7. license = "MIT OR Apache-2.0"
  8. repository = "https://github.com/DioxusLabs/dioxus/"
  9. homepage = "https://dioxuslabs.com"
  10. keywords = ["dom", "ui", "gui", "react", "wasm"]
  11. [dependencies]
  12. dioxus-lib = { workspace = true }
  13. dioxus-history = { workspace = true }
  14. dioxus-router-macro = { workspace = true }
  15. tracing = { workspace = true }
  16. urlencoding = "2.1.3"
  17. url = "2.3.1"
  18. dioxus-cli-config = { workspace = true }
  19. rustversion = "1.0.17"
  20. # you need to comment this out when publishing since cargo workspaces is not smart enough to wipe this when dropping
  21. # dev-dependncey crates
  22. [target.'cfg(target_family = "wasm")'.dev-dependencies]
  23. console_error_panic_hook = "0.1.7"
  24. gloo = "0.8.0"
  25. wasm-bindgen-test = "0.3.33"
  26. [features]
  27. default = []
  28. [dev-dependencies]
  29. axum = { workspace = true, features = ["ws"] }
  30. dioxus = { workspace = true, features = ["router"] }
  31. dioxus-ssr = { workspace = true }
  32. criterion = { workspace = true, features = ["async_tokio", "html_reports"] }
  33. ciborium = { version = "0.2.1" }
  34. base64 = { version = "0.21.0" }
  35. serde = { version = "1", features = ["derive"] }
  36. tokio = { workspace = true, features = ["full"] }
  37. [package.metadata.docs.rs]
  38. cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]
  39. # Most of the examples live in the workspace. We include some here so that docs.rs can scrape our examples for better inline docs
  40. [[example]]
  41. name = "hash_fragment_state"
  42. path = "../../examples/hash_fragment_state.rs"
  43. doc-scrape-examples = true
  44. [[example]]
  45. name = "query_segment_search"
  46. path = "../../examples/query_segment_search.rs"
  47. doc-scrape-examples = true
  48. [[example]]
  49. name = "simple_router"
  50. path = "../../examples/simple_router.rs"
  51. doc-scrape-examples = true