mirror of
https://github.com/saymrwulf/pasta_curves-source.git
synced 2026-09-05 20:10:32 +00:00
Merge pull request #71 from zcash/use-latest-stable
Use latest stable Rust
This commit is contained in:
commit
f86fce83ef
4 changed files with 9 additions and 9 deletions
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
|
|
@ -16,7 +16,7 @@ jobs:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions-rs/toolchain@v1
|
- uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
toolchain: 1.45.2
|
toolchain: stable
|
||||||
override: true
|
override: true
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
|
|
@ -32,7 +32,7 @@ jobs:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions-rs/toolchain@v1
|
- uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
toolchain: 1.45.2
|
toolchain: stable
|
||||||
override: true
|
override: true
|
||||||
# Build benchmarks to prevent bitrot
|
# Build benchmarks to prevent bitrot
|
||||||
- name: Build benchmarks
|
- name: Build benchmarks
|
||||||
|
|
@ -42,7 +42,7 @@ jobs:
|
||||||
args: --all --benches --all-features
|
args: --all --benches --all-features
|
||||||
|
|
||||||
clippy:
|
clippy:
|
||||||
name: Clippy (1.45.2)
|
name: Clippy (stable)
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
|
@ -50,13 +50,13 @@ jobs:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions-rs/toolchain@v1
|
- uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
toolchain: 1.45.2
|
toolchain: stable
|
||||||
components: clippy
|
components: clippy
|
||||||
override: true
|
override: true
|
||||||
- name: Run clippy
|
- name: Run clippy
|
||||||
uses: actions-rs/clippy-check@v1
|
uses: actions-rs/clippy-check@v1
|
||||||
with:
|
with:
|
||||||
name: Clippy (1.45.2)
|
name: Clippy (stable)
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
args: --all-features --all-targets -- -D warnings
|
args: --all-features --all-targets -- -D warnings
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -36,6 +36,6 @@ harness = false
|
||||||
[dependencies]
|
[dependencies]
|
||||||
subtle = "2.2.1"
|
subtle = "2.2.1"
|
||||||
crossbeam-utils = "0.7"
|
crossbeam-utils = "0.7"
|
||||||
metrics = "0.13.0-alpha.8"
|
metrics = "=0.13.0-alpha.11"
|
||||||
num_cpus = "1.13"
|
num_cpus = "1.13"
|
||||||
rand = "0.7"
|
rand = "0.7"
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@
|
||||||
clippy::many_single_char_names,
|
clippy::many_single_char_names,
|
||||||
clippy::same_item_push
|
clippy::same_item_push
|
||||||
)]
|
)]
|
||||||
#![deny(intra_doc_link_resolution_failure)]
|
#![deny(broken_intra_doc_links)]
|
||||||
#![deny(missing_debug_implementations)]
|
#![deny(missing_debug_implementations)]
|
||||||
#![deny(missing_docs)]
|
#![deny(missing_docs)]
|
||||||
#![deny(unsafe_code)]
|
#![deny(unsafe_code)]
|
||||||
|
|
|
||||||
|
|
@ -49,13 +49,13 @@ impl fmt::Display for ModelRecorder {
|
||||||
|
|
||||||
counters.sort_by(|(k1, _), (k2, _)| {
|
counters.sort_by(|(k1, _), (k2, _)| {
|
||||||
let key1 = (
|
let key1 = (
|
||||||
k1.name(),
|
k1.name().to_string(),
|
||||||
k1.labels()
|
k1.labels()
|
||||||
.map(|l| (l.key(), l.value()))
|
.map(|l| (l.key(), l.value()))
|
||||||
.collect::<Vec<_>>(),
|
.collect::<Vec<_>>(),
|
||||||
);
|
);
|
||||||
let key2 = (
|
let key2 = (
|
||||||
k2.name(),
|
k2.name().to_string(),
|
||||||
k2.labels()
|
k2.labels()
|
||||||
.map(|l| (l.key(), l.value()))
|
.map(|l| (l.key(), l.value()))
|
||||||
.collect::<Vec<_>>(),
|
.collect::<Vec<_>>(),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue