diff --git a/.github/workflows/main-checks.yml b/.github/workflows/main-checks.yml index 2909bc9ea90..608b0a9c3ab 100644 --- a/.github/workflows/main-checks.yml +++ b/.github/workflows/main-checks.yml @@ -3,11 +3,11 @@ name: Main Checks on: pull_request: paths: - - '.github/workflows/main-checks.yml' - - 'ci/**' - - 'packages/**/*' - - 'Cargo.toml' - - 'Cargo.lock' + - ".github/workflows/main-checks.yml" + - "ci/**" + - "packages/**/*" + - "Cargo.toml" + - "Cargo.lock" push: branches: [master] diff --git a/examples/boids/Cargo.toml b/examples/boids/Cargo.toml index e0b030605f9..55e2cf676ad 100644 --- a/examples/boids/Cargo.toml +++ b/examples/boids/Cargo.toml @@ -16,4 +16,6 @@ gloo = "0.11" [dependencies.web-sys] version = "0.3" -features = ["HtmlInputElement"] +features = [ + "HtmlInputElement", +] diff --git a/examples/function_memory_game/Cargo.toml b/examples/function_memory_game/Cargo.toml index 24b7a9324a0..08c8809af27 100644 --- a/examples/function_memory_game/Cargo.toml +++ b/examples/function_memory_game/Cargo.toml @@ -17,4 +17,6 @@ yew = { path = "../../packages/yew", features = ["csr"] } [dependencies.web-sys] version = "0.3" -features = ["HtmlInputElement"] +features = [ + "HtmlInputElement", +] diff --git a/examples/function_todomvc/Cargo.toml b/examples/function_todomvc/Cargo.toml index 6e6bdb02cc4..f089fafb19d 100644 --- a/examples/function_todomvc/Cargo.toml +++ b/examples/function_todomvc/Cargo.toml @@ -14,4 +14,6 @@ yew = { path = "../../packages/yew", features = ["csr"] } [dependencies.web-sys] version = "0.3" -features = ["HtmlInputElement"] +features = [ + "HtmlInputElement", +] diff --git a/examples/game_of_life/Cargo.toml b/examples/game_of_life/Cargo.toml index 5ae8f325174..ed153a0f96a 100644 --- a/examples/game_of_life/Cargo.toml +++ b/examples/game_of_life/Cargo.toml @@ -4,7 +4,7 @@ version = "0.1.4" authors = [ "Diego Cardoso ", "Ilya Bogdanov ", + "Junjie Huang " ] edition = "2021" license = "MIT OR Apache-2.0" diff --git a/examples/mount_point/Cargo.toml b/examples/mount_point/Cargo.toml index 5dc77f2e183..225c10cbe36 100644 --- a/examples/mount_point/Cargo.toml +++ b/examples/mount_point/Cargo.toml @@ -19,5 +19,5 @@ features = [ "Element", "HtmlCanvasElement", "Node", - "Window", + "Window" ] diff --git a/examples/todomvc/Cargo.toml b/examples/todomvc/Cargo.toml index e8ded16f036..261d90b24fb 100644 --- a/examples/todomvc/Cargo.toml +++ b/examples/todomvc/Cargo.toml @@ -15,4 +15,6 @@ gloo = "0.11" [dependencies.web-sys] version = "0.3" -features = ["HtmlInputElement"] +features = [ + "HtmlInputElement", +] diff --git a/packages/yew-router-macro/Cargo.toml b/packages/yew-router-macro/Cargo.toml index 0c30ff6928b..550b84f58cb 100644 --- a/packages/yew-router-macro/Cargo.toml +++ b/packages/yew-router-macro/Cargo.toml @@ -14,7 +14,7 @@ proc-macro = true [dependencies] proc-macro2 = "1" quote = "1" -syn = { version = "2", features = ["full", "extra-traits"] } +syn = { version = "2", features = ["full","extra-traits"] } [dev-dependencies] rustversion = "1" diff --git a/packages/yew-router/Cargo.toml b/packages/yew-router/Cargo.toml index 5445b3a0a23..e8133874e0d 100644 --- a/packages/yew-router/Cargo.toml +++ b/packages/yew-router/Cargo.toml @@ -12,7 +12,7 @@ repository = "https://github.com/yewstack/yew" rust-version = "1.76.0" [dependencies] -yew = { version = "0.21.0", path = "../yew", default-features = false } +yew = { version = "0.21.0", path = "../yew", default-features= false } yew-router-macro = { version = "0.18.0", path = "../yew-router-macro" } wasm-bindgen = "0.2" @@ -26,16 +26,20 @@ urlencoding = "2.1.3" [dependencies.web-sys] version = "0.3" -features = ["Document", "HtmlBaseElement", "Window"] +features = [ + "Document", + "HtmlBaseElement", + "Window" +] [dev-dependencies] -wasm-bindgen-test = "0.3.43" +wasm-bindgen-test = "0.3" serde = { version = "1", features = ["derive"] } yew = { version = "0.21.0", path = "../yew", features = ["csr"] } [dev-dependencies.web-sys] version = "0.3" -features = ["HtmlHeadElement"] +features = [ + "HtmlHeadElement" +] -[features] -default = []