Skip to content

Commit e7f60fd

Browse files
mlodato517ItsDoot
authored andcommitted
Update clap to 3.2 in tools using value_parser (bevyengine#5031)
**Why?** The `value_parser` `clap` attribute was added in [version 3.2.0][0]. With the current version of `3.1.12` users can get errors like: ``` error: unexpected attribute: value_parser --> tools/spancmp/src/main.rs:18:25 | 18 | #[clap(short, long, value_parser, default_value_t = 0.0)] | ^^^^^^^^^^^^ ``` See bevyengine#4944 (comment) for more details. [0]: https://github.com/clap-rs/clap/blob/master/CHANGELOG.md#320---2022-06-13
1 parent d99ea9f commit e7f60fd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tools/build-wasm-example/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ license = "MIT OR Apache-2.0"
99

1010
[dependencies]
1111
xshell = "0.2"
12-
clap = { version = "3.1.12", features = ["derive"] }
12+
clap = { version = "3.2", features = ["derive"] }

tools/spancmp/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ license = "MIT OR Apache-2.0"
99
[dependencies]
1010
serde_json = "1.0"
1111
serde = { version = "1.0", features = ["derive"] }
12-
clap = { version = "3.1.12", features = ["derive"] }
12+
clap = { version = "3.2", features = ["derive"] }
1313
regex = "1.5"
1414
termcolor = "1.1"
1515
bevy_reflect = { path = "../../crates/bevy_reflect", version = "0.8.0-dev" }

0 commit comments

Comments
 (0)