diff --git a/CHANGELOG.md b/CHANGELOG.md index ebfee80..3bda8cc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,7 @@ Who knows what the future holds... -# X - DD/MM/YYYY +# 0.1.0 - 17/01/2023 ### Changes: Games: - [Risk of Rain 2](https://store.steampowered.com/app/632360/Risk_of_Rain_2/) support. diff --git a/Cargo.toml b/Cargo.toml index 989db67..ff89607 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gamedig" -version = "0.0.7" +version = "0.1.0" edition = "2021" authors = ["CosminPerRam [cosmin.p@live.com]", "node-GameDig [https://github.com/gamedig/node-gamedig]"] license = "MIT" @@ -16,4 +16,4 @@ rust-version = "1.56.1" bzip2-rs = "0.1.2" # for compression crc32fast = "1.3.2" -serde_json = "1.0.87" # json to structs +serde_json = "1.0.91" # json to structs diff --git a/README.md b/README.md index 69e37d3..a36b697 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ use gamedig::games::tf2; fn main() { let response = tf2::query("127.0.0.1", None); // None is the default port (which is 27015), could also be Some(27015) match response { - Err(error) => println!("Couldn't query, error: {error}"), + Err(error) => println!("Couldn't query, error: {}", error), Ok(r) => println!("{:#?}", r) } } diff --git a/src/lib.rs b/src/lib.rs index b892c3f..3b53070 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -9,7 +9,7 @@ //! fn main() { //! let response = tf2::query("91.216.250.10", None); //or Some(27015), None is the default protocol port //! match response { -//! Err(error) => println!("Couldn't query, error: {error}"), +//! Err(error) => println!("Couldn't query, error: {}", error), //! Ok(r) => println!("{:?}", r) //! } //! }