Skip to content

Commit

Permalink
bump v0.6.2 (#5)
Browse files Browse the repository at this point in the history
* bump v0.6.2

* update CHANGELOG

* update CHANGELOG
  • Loading branch information
poyea authored May 10, 2022
1 parent 0cc3874 commit cdf920c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "poodle"
version = "0.6.1"
version = "0.6.2"
edition = "2021"
authors = ["John Law <poyea@pm.me>"]
description = "Not a poodle, but a word-guessing game from your terminal"
Expand Down
4 changes: 2 additions & 2 deletions benches/poodle_benchmark.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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())))
Expand All @@ -18,5 +18,5 @@ pub fn state_benchmark(c: &mut Criterion) {
});
}

criterion_group!(benches, state_benchmark);
criterion_group!(benches, poodle_benchmark);
criterion_main!(benches);

0 comments on commit cdf920c

Please sign in to comment.