Skip to content

Commit

Permalink
bump edition to 2021 and MSRV to 1.60.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tobz committed Mar 21, 2023
1 parent e499709 commit fe14834
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
rust_version: ['1.51.0', 'stable', 'nightly']
rust_version: ['1.60.0', 'stable', 'nightly']
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- uses: actions/checkout@v2
Expand Down
5 changes: 3 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
name = "quanta"
version = "0.10.1"
authors = ["Toby Lawrence <[email protected]>"]
edition = "2018"
edition = "2021"
rust-version = "1.60"

license = "MIT"

Expand Down Expand Up @@ -33,7 +34,7 @@ prost = ["prost-types"]

[dependencies]
once_cell = "1.4"
prost-types = { version = "0.11", optional = true }
prost-types = { version = "0.11", default-features = false, optional = true }
crossbeam-utils = "0.8.5"

[target.'cfg(target_arch = "x86")'.dependencies]
Expand Down
2 changes: 2 additions & 0 deletions rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[toolchain]
channel = "stable"

2 comments on commit fe14834

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bench-ubuntu-latest

Benchmark suite Current: fe14834 Previous: e499709 Ratio
stdlib/instant_now 26 ns/iter (± 0) 27 ns/iter (± 0) 0.96
stdlib/instant_delta 59 ns/iter (± 0) 64 ns/iter (± 0) 0.92
quanta/quanta_now 26 ns/iter (± 0) 27 ns/iter (± 0) 0.96
quanta/quanta_now_delta 59 ns/iter (± 0) 63 ns/iter (± 0) 0.94
quanta/quanta_instant_now 30 ns/iter (± 0) 30 ns/iter (± 0) 1
quanta/quanta_raw 26 ns/iter (± 0) 27 ns/iter (± 0) 0.96
quanta/quanta_raw_scaled 27 ns/iter (± 0) 27 ns/iter (± 0) 1
quanta/quanta_raw_delta 56 ns/iter (± 0) 57 ns/iter (± 0) 0.98
quanta/quanta_recent 2 ns/iter (± 0) 2 ns/iter (± 0) 1
quanta/quanta_instant_recent 1 ns/iter (± 0) 1 ns/iter (± 0) 1

This comment was automatically generated by workflow using github-action-benchmark.

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark 'bench-ubuntu-latest'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 0.1.

Benchmark suite Current: fe14834 Previous: e499709 Ratio
stdlib/instant_now 26 ns/iter (± 0) 27 ns/iter (± 0) 0.96
stdlib/instant_delta 59 ns/iter (± 0) 64 ns/iter (± 0) 0.92
quanta/quanta_now 26 ns/iter (± 0) 27 ns/iter (± 0) 0.96
quanta/quanta_now_delta 59 ns/iter (± 0) 63 ns/iter (± 0) 0.94
quanta/quanta_instant_now 30 ns/iter (± 0) 30 ns/iter (± 0) 1
quanta/quanta_raw 26 ns/iter (± 0) 27 ns/iter (± 0) 0.96
quanta/quanta_raw_scaled 27 ns/iter (± 0) 27 ns/iter (± 0) 1
quanta/quanta_raw_delta 56 ns/iter (± 0) 57 ns/iter (± 0) 0.98
quanta/quanta_recent 2 ns/iter (± 0) 2 ns/iter (± 0) 1
quanta/quanta_instant_recent 1 ns/iter (± 0) 1 ns/iter (± 0) 1

This comment was automatically generated by workflow using github-action-benchmark.

CC: @tobz

Please sign in to comment.