Skip to content

Commit

Permalink
Undo the formatting changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
langyo committed Oct 12, 2024
1 parent 6be3606 commit 1290325
Show file tree
Hide file tree
Showing 9 changed files with 30 additions and 18 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/main-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]

Expand Down
4 changes: 3 additions & 1 deletion examples/boids/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,6 @@ gloo = "0.11"

[dependencies.web-sys]
version = "0.3"
features = ["HtmlInputElement"]
features = [
"HtmlInputElement",
]
4 changes: 3 additions & 1 deletion examples/function_memory_game/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,6 @@ yew = { path = "../../packages/yew", features = ["csr"] }

[dependencies.web-sys]
version = "0.3"
features = ["HtmlInputElement"]
features = [
"HtmlInputElement",
]
4 changes: 3 additions & 1 deletion examples/function_todomvc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,6 @@ yew = { path = "../../packages/yew", features = ["csr"] }

[dependencies.web-sys]
version = "0.3"
features = ["HtmlInputElement"]
features = [
"HtmlInputElement",
]
2 changes: 1 addition & 1 deletion examples/game_of_life/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version = "0.1.4"
authors = [
"Diego Cardoso <dige0card0s0@hotmail.com>",
"Ilya Bogdanov <fumlead@gmail.com",
"Junjie Huang <huangjj.27@qq.com>",
"Junjie Huang <huangjj.27@qq.com>"
]
edition = "2021"
license = "MIT OR Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion examples/mount_point/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ features = [
"Element",
"HtmlCanvasElement",
"Node",
"Window",
"Window"
]
4 changes: 3 additions & 1 deletion examples/todomvc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,6 @@ gloo = "0.11"

[dependencies.web-sys]
version = "0.3"
features = ["HtmlInputElement"]
features = [
"HtmlInputElement",
]
2 changes: 1 addition & 1 deletion packages/yew-router-macro/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
16 changes: 10 additions & 6 deletions packages/yew-router/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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 = []

0 comments on commit 1290325

Please sign in to comment.