Skip to content

Commit

Permalink
Bump version to 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
iMilchshake committed Jul 28, 2024
1 parent a9b8476 commit 6636bc1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
5 changes: 2 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "gores-mapgen-rust"
version = "0.1.0"
version = "1.0.0"
edition = "2021"
default-run = "gores-generator"

Expand Down Expand Up @@ -28,7 +28,6 @@ name = "check_generator"

[[bin]]
name = "automap_test"
# required-features = ["ddnet_bridge"]

[dependencies]
# egui-macroquad = { git = "https://github.com/optozorax/egui-macroquad", default-features = false, rev="dfbdb967d6cf4e4726b84a568ec1b2bdc7e4f492" }
Expand All @@ -49,7 +48,7 @@ itertools = "0.12.1"
twmap = "0.12.0"
telnet = "0.2.1"
regex = "1.10.4"
clap = { version = "4.5.4", features = ["derive"] }
clap = { version = "4.5.4", features = ["derive", "cargo"] }
dirs = "5.0.1"
serde = "1.0.197"
serde_json = "1.0.115"
Expand Down
4 changes: 2 additions & 2 deletions src/bin/ddnet_bridge.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use clap::Parser;
use clap::{crate_version, Parser};
use core::net::{IpAddr, Ipv4Addr, SocketAddr};
use gores_mapgen_rust::config::MapConfig;
use gores_mapgen_rust::random::Seed;
Expand All @@ -15,7 +15,7 @@ use telnet::{Event, Telnet};

#[derive(Parser, Debug)]
#[command(name = "DDNet Bridge")]
#[command(version = "0.1a")]
#[command(version = crate_version!())]
#[command(about = "Detect DDNet-Server votes via econ to trigger map generations", long_about = None)]
enum Command {
#[clap(name = "start", about = "start the ddnet bridge")]
Expand Down
5 changes: 4 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#![cfg_attr(target_os = "windows", windows_subsystem = "windows")]

use clap::Parser;
use clap::{crate_version, Parser};
use gores_mapgen_rust::{
config::{GenerationConfig, MapConfig},
editor::*,
Expand All @@ -16,6 +16,9 @@ use std::panic::{self, AssertUnwindSafe};
const DISABLE_VSYNC: bool = true;

#[derive(Parser, Debug)]
#[command(name = "Random Gores Map Generator")]
#[command(version = crate_version!())]
#[command(about = "Visual editor for generating maps and customizing the generators presets", long_about = None)]
struct Args {
/// select initial generation config
config: Option<String>,
Expand Down

0 comments on commit 6636bc1

Please sign in to comment.