Update clap to 3.2 in tools using value_parser (#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 https://github.com/bevyengine/bevy/pull/4944#issuecomment-1157704785 for more details.

[0]: https://github.com/clap-rs/clap/blob/master/CHANGELOG.md#320---2022-06-13
This commit is contained in:
Mark Lodato 2022-06-20 18:04:29 +00:00
parent 2ec5ff9652
commit 515c8a3f50
2 changed files with 2 additions and 2 deletions

View file

@ -9,4 +9,4 @@ license = "MIT OR Apache-2.0"
[dependencies]
xshell = "0.2"
clap = { version = "3.1.12", features = ["derive"] }
clap = { version = "3.2", features = ["derive"] }

View file

@ -9,7 +9,7 @@ license = "MIT OR Apache-2.0"
[dependencies]
serde_json = "1.0"
serde = { version = "1.0", features = ["derive"] }
clap = { version = "3.1.12", features = ["derive"] }
clap = { version = "3.2", features = ["derive"] }
regex = "1.5"
termcolor = "1.1"
bevy_reflect = { path = "../../crates/bevy_reflect", version = "0.8.0-dev" }