Skip to content

Commit

Permalink
feat: export parser, serializer, and deserializer
Browse files Browse the repository at this point in the history
  • Loading branch information
mosure committed Jan 26, 2024
1 parent 813317d commit eb392c1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 14 deletions.
7 changes: 1 addition & 6 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.0.0"
version = "1.1.0"
edition = "2021"
authors = ["mosure <[email protected]>"]
license = "MIT"
Expand Down Expand Up @@ -73,8 +73,3 @@ codegen-units = 1

[lib]
path = "src/lib.rs"


[examples]
name = "minimal"
path = "examples/minimal.rs"
12 changes: 6 additions & 6 deletions examples/minimal.rs
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
use bevy::prelude::*;
use clap::Parser;
use serde::{
Deserialize,
Serialize,
};

#[cfg(target_arch = "wasm32")]
use wasm_bindgen::prelude::*;

use bevy_args::BevyArgsPlugin;
use bevy_args::{
BevyArgsPlugin,
Deserialize,
Parser,
Serialize,
};


#[cfg(target_arch = "wasm32")]
Expand Down
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ use std::marker::PhantomData;
use std::collections::HashMap;

use bevy::prelude::*;
use clap::Parser;
use serde::{
pub use clap::Parser;
pub use serde::{
Deserialize,
Serialize,
};
Expand Down

0 comments on commit eb392c1

Please sign in to comment.