Skip to content

Commit

Permalink
Update to 2021 edition.
Browse files Browse the repository at this point in the history
  • Loading branch information
waywardmonkeys committed Jul 10, 2024
1 parent 986e1f2 commit a4b7107
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ name = "criterion"
#
# * Update version numbers in the book;
version = "0.5.1"
edition = "2018"
edition = "2021"

description = "Statistics-driven micro-benchmarking library"
homepage = "https://bheisler.github.io/criterion.rs/book/index.html"
Expand Down Expand Up @@ -101,6 +101,7 @@ csv_output = ["csv"]

[workspace]
exclude = ["cargo-criterion"]
resolver = "2"

[[bench]]
name = "bench_main"
Expand Down
4 changes: 2 additions & 2 deletions bencher_compat/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "criterion_bencher_compat"
version = "0.4.0"
authors = ["Brook Heisler <redattack34@gmail.com>"]
edition = "2018"
edition = "2021"

description = "Drop-in replacement for commonly-used parts of Bencher"
homepage = "https://bheisler.github.io/criterion.rs/book/index.html"
Expand All @@ -23,4 +23,4 @@ default = []
name = "bencher_example"
harness = false

[workspace]
[workspace]
4 changes: 2 additions & 2 deletions macro/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "criterion-macro"
version = "0.4.0"
authors = ["Brook Heisler <redattack34@gmail.com>"]
edition = "2018"
edition = "2021"

description = "Custom Test Framework macro for Criterion.rs"
homepage = "https://bheisler.github.io/criterion.rs/book/index.html"
Expand All @@ -25,4 +25,4 @@ criterion = { version = "0.4.0", path = "..", default-features = false }
[[bench]]
name = "test_macro_bench"

[workspace]
[workspace]
2 changes: 1 addition & 1 deletion plot/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
authors = ["Jorge Aparicio <japaricious@gmail.com>", "Brook Heisler <brookheisler@gmail.com>"]
name = "criterion-plot"
version = "0.5.0"
edition = "2018"
edition = "2021"

description = "Criterion's plotting library"
repository = "https://github.com/bheisler/criterion.rs"
Expand Down

0 comments on commit a4b7107

Please sign in to comment.