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