-
Notifications
You must be signed in to change notification settings - Fork 61
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
Require minimum Rust 1.56 #381
Conversation
✅ Deploy Preview for shepmaster-snafu ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Just replying to some of the feedback provided before the PR:
My greps yield no more results in need of updates.
My mistake, I probably kept it in while I was experimenting with making the
IIUIC this will only be the case once we require a minimum version of Rust 1.61.
👍 Done now. By the way, should |
Would you mind pulling Update compile_error test snapshots out into its own PR? It's not really about updating to 1.56, just that the current stable output has changed. (also I want it for #383 😇) Maybe also rustfmt src/lib.rs if that's more drift from stable. |
Hmm, I thought it was because Rust 1.34 didn't know the
Hmm, there's two points here...
I'm generally planning on releasing one more 0.7 so I can fix those docs (and maybe cause some merge conflicts 😬). |
Makes sense indeed. I'll get to that once I'm able.
That was caused by the removal of the non-exhaustive lock field
I guess it's easy to try if the code builds on Rust 1.56 anyway, and make changes if so. I'll look into it.
OK, in that case I will not touch the documentation (which already claims that
*git rebase intensifies* |
You can also add: [package]
rust-version = "1.56" to all Cargo.toml file |
3db8cdc
to
06ac7cd
Compare
06ac7cd
to
a3c6e24
Compare
Looking good. I made one small tweak to wording and force pushed (also rebased for good measure). |
- change rust-toolchain accordingly - remove Cargo features 1_34 and 1_46 - simplify feature gated code - update guide and documentation to no longer mention existing features - mark Location as non_exhaustive, remove _other field - change CI min version test task to use Rust 1.56 - remove v1.34 compatibility tests
- fix mention of Rust version compatibility
- all supported versions of Rust also support `async/await` - remove report directory and folders
a3c6e24
to
8b22564
Compare
As discussed in #379, this PR does step 1: bump the hard minimum supported version of Rust to 1.56.
Summary
async_body
function, removereport/no_async
andreport/yes_async