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

chore: switch benches to criterion plus MSRV bump to 1.56 #654

Merged
merged 2 commits into from Jul 15, 2022

Conversation

tomtau
Copy link
Contributor

@tomtau tomtau commented Jul 15, 2022

as per #615 (comment)
besides criterion, it is now possible to compile the
const_prec_climber feature on stable, because
const_fn_trait_bound was stabilized

@tomtau
Copy link
Contributor Author

tomtau commented Jul 15, 2022

plus clippy fixes (needed for the bumped MSRV)

@tomtau tomtau force-pushed the chore/criterion branch 2 times, most recently from f599dbf to 26ddf30 Compare July 15, 2022 14:12
as per pest-parser#615 (comment)
besides criterion, it is now possible to compile the
`const_prec_climber` feature on stable, because
`const_fn_trait_bound` was stabilized
plus clippy fixes
Copy link
Contributor

@CAD97 CAD97 left a comment

Choose a reason for hiding this comment

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

LGTM, just one nit, and a thought about proper CI hygiene.

.github/workflows/ci.yml Outdated Show resolved Hide resolved
@@ -7,7 +7,6 @@
// option. All files in the project carrying such notice may not be copied,
// modified, or distributed except according to those terms.
#![no_std]
#![cfg_attr(feature = "const_prec_climber", feature(const_fn_trait_bound))]
Copy link
Contributor

Choose a reason for hiding this comment

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

🎉

@CAD97 CAD97 enabled auto-merge July 15, 2022 18:54
@CAD97 CAD97 merged commit eb8a042 into pest-parser:master Jul 15, 2022
@tomtau tomtau deleted the chore/criterion branch July 16, 2022 01:10
@@ -22,7 +22,7 @@ jobs:
- name: Install Rust Stable
uses: actions-rs/toolchain@v1
with:
toolchain: 1.51.0 # Pinned warnings
toolchain: 1.56.1 # Pinned warnings
Copy link
Member

Choose a reason for hiding this comment

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

Any particular reason to not bump to latest? I don't know best practices for Rust versions.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's meant as a sort of "LTS".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants