这是indexloc提供的服务,不要输入任何密码
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "bevy_args"
description = "bevy plugin to parse command line arguments and URL query parameters"
version = "1.4.2"
version = "1.5.0"
edition = "2021"
authors = ["mosure <mitchell@mosure.me>"]
license = "MIT"
Expand All @@ -27,11 +27,11 @@ exclude = [

[dependencies]
clap = { version = "4.4", features = ["derive"] }
serde = "1.0"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"

[dependencies.bevy]
version = "0.13"
version = "0.14"
default-features = false


Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ bevy plugin to parse command line arguments and URL query parameters into resour


## command line arguments
`cargo run --example=minimal -- --my_string hello --my_int 42 --my_bool`
`cargo run --example=minimal -- --my-string hello --my-int 42 --my-bool`

## URL query parameters
`http://localhost:8080/?my_string=hello&my_int=42&my_bool=true`
Expand Down Expand Up @@ -63,5 +63,6 @@ fn print_minimal_args(args: Res<MinimalArgs>) {

| `bevy_args` | `bevy` |
| :-- | :-- |
| `1.5` | `0.14` |
| `1.3` | `0.13` |
| `1.0` | `0.12` |
Empty file removed src/macro.rs
Empty file.