Cargo.toml 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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. [features]
  21. default = []
  22. wasm-split = []
  23. [dev-dependencies]
  24. axum = { workspace = true, features = ["ws"] }
  25. dioxus = { workspace = true, features = ["router"] }
  26. dioxus-ssr = { workspace = true }
  27. criterion = { workspace = true, features = ["async_tokio", "html_reports"] }
  28. ciborium = { workspace = true }
  29. base64 = { workspace = true }
  30. serde = { workspace = true, features = ["derive"] }
  31. tokio = { workspace = true, features = ["full"] }
  32. [package.metadata.docs.rs]
  33. cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]
  34. # Most of the examples live in the workspace. We include some here so that docs.rs can scrape our examples for better inline docs
  35. [[example]]
  36. name = "hash_fragment_state"
  37. path = "../../examples/hash_fragment_state.rs"
  38. doc-scrape-examples = true
  39. [[example]]
  40. name = "query_segment_search"
  41. path = "../../examples/query_segment_search.rs"
  42. doc-scrape-examples = true
  43. [[example]]
  44. name = "simple_router"
  45. path = "../../examples/simple_router.rs"
  46. doc-scrape-examples = true