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: Bump MSRV to 1.46 #605

Merged
merged 14 commits into from
Oct 19, 2021
Merged

chore: Bump MSRV to 1.46 #605

merged 14 commits into from
Oct 19, 2021

Conversation

davidpdrsn
Copy link
Member

@davidpdrsn davidpdrsn commented Oct 17, 2021

Turns out our CI never ran for 1.40. We were missing override: true 🥲

After actually running the tests on 1.40 it turns out we require 1.46 because of tokio and http. Tokio requires 1.45 and http requires 1.46 because of if/match in const fn. http is only used in tests so we could pin that to 0.2.4 which works on 1.45 but I guess since we might as well go to 1.46.

Questions:

  • Is this a breaking change? As far as I can see we never state tower's MSRV anywhere. Also worth noting that tower never actually compiled on 1.40 🤷
  • If we consider this a breaking change, are there any other changes we wanna make while we're at it? Perhaps updating util::Either to pin-project-lite?
  • In this PR I write in the readme that our MSRV is 1.46. Are we okay with that or do we wanna go higher than 1.46?

I also changed rustdoc::broken_intra_doc_links to only be set on CI with RUSTDOCFLAGS.

Fixes #604

@davidpdrsn davidpdrsn changed the title chore: actually check MSCV on CI chore: fix lint breaking MSRV and check MSRV on CI Oct 17, 2021
@davidpdrsn davidpdrsn changed the title chore: fix lint breaking MSRV and check MSRV on CI Fix MSRV Oct 17, 2021
@davidpdrsn davidpdrsn changed the title Fix MSRV chore: Bump MSRV to 1.46 Oct 17, 2021
@davidpdrsn davidpdrsn marked this pull request as ready for review October 17, 2021 07:31
@davidpdrsn davidpdrsn force-pushed the david/mscv-ci branch 2 times, most recently from 46a95bd to 68c8047 Compare October 17, 2021 07:35
@jplatte
Copy link
Contributor

jplatte commented Oct 18, 2021

Many projects do MSRV bumps on minor / patch releases. I don't think this should be considered breaking.

👎 to making Either variants structs, that would be pretty ugly and the little bit of unsafe needed to get rid of pin-project for it is really straight-forward (see #603).

@davidpdrsn davidpdrsn deleted the david/mscv-ci branch October 19, 2021 14:28
davidpdrsn added a commit that referenced this pull request Oct 19, 2021
- Fix accidental breaking change when using the
  `rustdoc::broken_intra_doc_links` lint ([#605])
- Clarity that tower's minimum supported rust version is 1.46 ([#605])

[#605]: #605
davidpdrsn added a commit that referenced this pull request Oct 19, 2021
* tower: prepare to release 0.4.10

- Fix accidental breaking change when using the
  `rustdoc::broken_intra_doc_links` lint ([#605])
- Clarity that tower's minimum supported rust version is 1.46 ([#605])

[#605]: #605

* Update tower/CHANGELOG.md

Co-authored-by: Oliver Gould <ver@buoyant.io>

Co-authored-by: Oliver Gould <ver@buoyant.io>
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.

Release build of tower / tide failes
3 participants