mirror of
https://github.com/bevyengine/bevy
synced 2024-11-22 12:43:34 +00:00
515c8a3f50
**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
12 lines
339 B
TOML
12 lines
339 B
TOML
[package]
|
|
name = "build-wasm-example"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
description = "Build an example for wasm"
|
|
publish = false
|
|
license = "MIT OR Apache-2.0"
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
xshell = "0.2"
|
|
clap = { version = "3.2", features = ["derive"] }
|