Skip to content

Commit

Permalink
Bump to 0.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjscho committed Nov 16, 2023
1 parent 3584b22 commit 94379b8
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
# 0.6.0 (November 16, 2023)

### Fixed

- Remove `rng` from sim builder as it wasn't applied. Use `build_with_rng`
instead ([#150])

[#150]: https://github.com/tokio-rs/turmoil/pull/150

# 0.5.8 (November 6, 2023)

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name = "turmoil"
# - README.md
# - Update CHANGELOG.md
# - Create git tag
version = "0.5.8"
version = "0.6.0"
edition = "2021"
license = "MIT"
authors = ["Tokio Contributors <[email protected]>"]
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Add this to your `Cargo.toml`.

```toml
[dev-dependencies]
turmoil = "0.5"
turmoil = "0.6"
```

See crate documentation for simulation setup instructions.
Expand Down
2 changes: 1 addition & 1 deletion src/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ impl Builder {

/// Build a sim with a provided `rng`.
///
/// This allows setting the random number generator used to fuzz
/// This allows setting the random number generator used to fuzz.
fn build_with_rng<'a>(&self, rng: Box<dyn RngCore>) -> Sim<'a> {
if self.link.latency().max_message_latency < self.link.latency().min_message_latency {
panic!("Maximum message latency must be greater than minimum.");
Expand Down

0 comments on commit 94379b8

Please sign in to comment.