mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-24 21:23:07 +00:00
52 lines
1.6 KiB
TOML
52 lines
1.6 KiB
TOML
[package]
|
|
name = "dioxus-router"
|
|
authors = ["Jonathan Kelley", "Evan Almloff"]
|
|
version = { workspace = true }
|
|
edition = "2021"
|
|
description = "Cross-platform router for Dioxus apps"
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "https://github.com/DioxusLabs/dioxus/"
|
|
homepage = "https://dioxuslabs.com"
|
|
keywords = ["dom", "ui", "gui", "react", "wasm"]
|
|
|
|
[dependencies]
|
|
dioxus-lib = { workspace = true }
|
|
dioxus-history = { workspace = true }
|
|
dioxus-router-macro = { workspace = true }
|
|
tracing = { workspace = true }
|
|
urlencoding = "2.1.3"
|
|
url = "2.3.1"
|
|
dioxus-cli-config = { workspace = true }
|
|
rustversion = "1.0.17"
|
|
|
|
[features]
|
|
default = []
|
|
|
|
[dev-dependencies]
|
|
axum = { workspace = true, features = ["ws"] }
|
|
dioxus = { workspace = true, features = ["router"] }
|
|
dioxus-ssr = { workspace = true }
|
|
criterion = { workspace = true, features = ["async_tokio", "html_reports"] }
|
|
ciborium = { workspace = true }
|
|
base64 = { workspace = true }
|
|
serde = { workspace = true, features = ["derive"] }
|
|
tokio = { workspace = true, features = ["full"] }
|
|
|
|
[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
|