Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update criterion version in docs #759

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -53,7 +53,7 @@ To start with Criterion.<span></span>rs, add the following to your `Cargo.toml`

```toml
[dev-dependencies]
criterion = { version = "0.4", features = ["html_reports"] }
criterion = { version = "0.5", features = ["html_reports"] }

[[bench]]
name = "my_benchmark"
Expand Down
2 changes: 1 addition & 1 deletion book/src/user_guide/custom_test_framework.md
Expand Up @@ -15,7 +15,7 @@ Once that's installed, add the dependencies to your Cargo.toml:

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

Expand Down
2 changes: 1 addition & 1 deletion book/src/user_guide/html_report.md
Expand Up @@ -3,7 +3,7 @@
Starting with Criterion.rs 0.4.0 HTML reports must be explicitly enabled via the `html_reports` [feature](https://doc.rust-lang.org/cargo/reference/features.html#dependency-features):
```toml
[dev-dependencies]
criterion = {version = "0.4.0", features = ["html_reports"] }
criterion = { version = "0.5", features = ["html_reports"] }
```
Criterion.rs can generate an HTML report displaying the results of the benchmark under
`target/criterion/reports/index.html`. By default, the plots are generated using
Expand Down
2 changes: 1 addition & 1 deletion book/src/user_guide/plots_and_graphs.md
Expand Up @@ -11,7 +11,7 @@ have introduced a cargo feature for plot and html generation. In order to activa
generation make sure that your `Cargo.toml` activates the feature:

```toml
criterion = { version = "0.4", features = ["html_reports"] }
criterion = { version = "0.5", features = ["html_reports"] }
```

## File Structure
Expand Down