Bump to version 0.1.0 -> 0.2.0
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "sea_battle_cli_player"
|
||||
version = "0.1.0"
|
||||
version = "0.2.0"
|
||||
edition = "2021"
|
||||
license = "GPL-2.0-or-later"
|
||||
description = "A Sea Battle game shell client"
|
||||
@ -12,8 +12,8 @@ categories = [ "games" ]
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
sea_battle_backend = { path = "../sea_battle_backend", version = "0.1.0" }
|
||||
clap = { version = "4.0.15", features = ["derive"] }
|
||||
sea_battle_backend = { path = "../sea_battle_backend", version = "0.2.0" }
|
||||
clap = { version = "4.0.16", features = ["derive"] }
|
||||
log = "0.4.17"
|
||||
env_logger = "0.9.0"
|
||||
tui = "0.19.0"
|
||||
|
@ -61,3 +61,14 @@ lazy_static::lazy_static! {
|
||||
pub fn cli_args() -> &'static CliArgs {
|
||||
&ARGS
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod test {
|
||||
use crate::cli_args::CliArgs;
|
||||
|
||||
#[test]
|
||||
fn verify_cli() {
|
||||
use clap::CommandFactory;
|
||||
CliArgs::command().debug_assert()
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user