From cdf920cdf2e18630b6e324147aba58a2366257f4 Mon Sep 17 00:00:00 2001 From: John Law Date: Tue, 10 May 2022 23:30:37 +0800 Subject: [PATCH] bump v0.6.2 (#5) * bump v0.6.2 * update CHANGELOG * update CHANGELOG --- CHANGELOG.md | 6 +++++- Cargo.lock | 2 +- Cargo.toml | 2 +- benches/poodle_benchmark.rs | 4 ++-- 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1fdcad5..1ac326d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,11 +5,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and Poodle adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] + +## [0.6.2] - 2022-05-10 ### Added - Improve expressiveness. - Add benchmark. - Fix cross-platform clear control sequence issue. - Refactor code. +- Fix more cross platform issues. ## [0.6.1] - 2022-04-17 ### Added @@ -48,7 +51,8 @@ and Poodle adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) - Project structure. - Enable GitHub Actions. -[Unreleased]: https://github.com/poyea/poodle/compare/v0.6.1...HEAD +[Unreleased]: https://github.com/poyea/poodle/compare/v0.6.2...HEAD +[0.6.2]: https://github.com/poyea/poodle/compare/v0.6.1...v0.6.2 [0.6.1]: https://github.com/poyea/poodle/compare/v0.6.0...v0.6.1 [0.6.0]: https://github.com/poyea/poodle/compare/v0.5.0...v0.6.0 [0.5.0]: https://github.com/poyea/poodle/compare/v0.4.0...v0.5.0 diff --git a/Cargo.lock b/Cargo.lock index afd069d..89b4add 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -409,7 +409,7 @@ dependencies = [ [[package]] name = "poodle" -version = "0.6.1" +version = "0.6.2" dependencies = [ "chrono", "clap 3.0.14", diff --git a/Cargo.toml b/Cargo.toml index 2423433..e2d18ea 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "poodle" -version = "0.6.1" +version = "0.6.2" edition = "2021" authors = ["John Law "] description = "Not a poodle, but a word-guessing game from your terminal" diff --git a/benches/poodle_benchmark.rs b/benches/poodle_benchmark.rs index e826cb5..a2d6f0b 100644 --- a/benches/poodle_benchmark.rs +++ b/benches/poodle_benchmark.rs @@ -3,7 +3,7 @@ use poodle::state::*; use criterion::{black_box, criterion_group, criterion_main, Criterion}; -pub fn state_benchmark(c: &mut Criterion) { +pub fn poodle_benchmark(c: &mut Criterion) { let mut state = DayState::new("bench".to_string(), 6); c.bench_function("state guess wrong", |b| { b.iter(|| state.guess(black_box(&"chaos".to_string()))) @@ -18,5 +18,5 @@ pub fn state_benchmark(c: &mut Criterion) { }); } -criterion_group!(benches, state_benchmark); +criterion_group!(benches, poodle_benchmark); criterion_main!(benches);