[package] name = "yew-router-nested" version = "0.16.1" authors = ["Henry Zimmerman ", "Sascha Grunert ", "Jens Reimann "] edition = "2018" license = "MIT/Apache-2.0" readme = "README.md" keywords = ["web", "yew", "router"] categories = ["gui", "web-programming"] description = "A router implementation for the Yew framework" repository = "https://github.com/yewstack/yew" [features] default = ["web_sys", "core", "unit_alias"] core = ["router", "components"] # Most everything unit_alias = [] # TODO remove this router = ["agent"] # The Router component components = ["agent" ] # The button and anchor agent = ["service"] # The RouteAgent service = ["yew"] # The RouteService std_web = [ "stdweb" ] web_sys = [ "gloo", "js-sys", "web-sys", "wasm-bindgen" ] [dependencies] yew = { version = "0.19.0", default-features= false, optional = true } yew-agent = { version = "0.1"} yew-router-macro = { version = "^0.16.0", path = "../yew-router-nested-macro", package = "yew-router-nested-macro" } yew-router-route-parser = { version = "^0.16.0", path = "../yew-router-nested-route-parser", package = "yew-router-nested-route-parser" } cfg-if = "1.0.0" cfg-match = "0.2" gloo = { version = "0.4.0", optional = true } js-sys = { version = "0.3.35", optional = true } log = "0.4.8" nom = "5.1.1" serde = { version = "1.0.104", features = ["derive"] } serde_json = "1.0.48" stdweb = { version = "0.4.20", optional = true } wasm-bindgen = { version = "0.2.58", optional = true } [dependencies.web-sys] version = "0.3" optional = true features = [ 'History', 'HtmlLinkElement', 'Location', 'MouseEvent', 'PopStateEvent', 'Window', ] # Compat with building yew with wasm-pack support. [target.'cfg(all(target_arch = "wasm32", not(target_os="wasi"), not(cargo_web)))'.dependencies] wasm-bindgen = "0.2.58" [dev-dependencies] uuid = "0.8.1"