Skip to content

Commit

Permalink
Update versions in docs (#636)
Browse files Browse the repository at this point in the history
  • Loading branch information
wetheredge authored Dec 7, 2022
1 parent 28a42f1 commit 27642b4
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ To start with Criterion.<span></span>rs, add the following to your `Cargo.toml`

```toml
[dev-dependencies]
criterion = "0.3"
criterion = "0.4"

[[bench]]
name = "my_benchmark"
Expand Down
2 changes: 1 addition & 1 deletion book/src/user_guide/bencher_compatibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ To:

```toml
[dev-dependencies]
criterion_bencher_compat = "0.3"
criterion_bencher_compat = "0.4"
```

Then we update the benchmark file itself to change:
Expand Down
4 changes: 2 additions & 2 deletions book/src/user_guide/custom_test_framework.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ Once that's installed, add the dependencies to your Cargo.toml:

```toml
[dev-dependencies]
criterion = "0.3"
criterion-macro = "0.3"
criterion = "0.4"
criterion-macro = "0.4"
```

Note that for `#[criterion]` benchmarks, we don't need to disable the normal testing harness
Expand Down
2 changes: 1 addition & 1 deletion book/src/user_guide/migrating_from_libtest.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ We also need to add Criterion.rs to the `dev-dependencies` section of `Cargo.tom

```toml
[dev-dependencies]
criterion = "0.3"
criterion = "0.4"
```

The next step is to update the imports:
Expand Down

0 comments on commit 27642b4

Please sign in to comment.