From e386ab87935a643e63e10be62e3fea80b8a6df11 Mon Sep 17 00:00:00 2001 From: mosure Date: Sun, 16 Jun 2024 23:17:17 -0500 Subject: [PATCH 1/2] feat: bevy 0.14 rc.3 --- Cargo.toml | 4 ++-- src/macro.rs | 0 2 files changed, 2 insertions(+), 2 deletions(-) delete mode 100644 src/macro.rs diff --git a/Cargo.toml b/Cargo.toml index 336907f..cde01de 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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.0-rc.3" default-features = false diff --git a/src/macro.rs b/src/macro.rs deleted file mode 100644 index e69de29..0000000 From fc1c60ace64e02df5e3ac240d296f00e60ae516d Mon Sep 17 00:00:00 2001 From: mosure Date: Sat, 6 Jul 2024 14:49:14 -0500 Subject: [PATCH 2/2] feat: bevy 0.14 support --- Cargo.toml | 4 ++-- README.md | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index cde01de..356f2ce 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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 "] license = "MIT" @@ -31,7 +31,7 @@ serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" [dependencies.bevy] -version = "0.14.0-rc.3" +version = "0.14" default-features = false diff --git a/README.md b/README.md index 4e7a9b6..57eba5e 100644 --- a/README.md +++ b/README.md @@ -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` @@ -63,5 +63,6 @@ fn print_minimal_args(args: Res) { | `bevy_args` | `bevy` | | :-- | :-- | +| `1.5` | `0.14` | | `1.3` | `0.13` | | `1.0` | `0.12` |