-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Fix intra-doc links on docs.rs #1205
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fantastic! 🎉
I cannot test it but I take your word for it 😅 I'll ship a new version end of next week.
The CI failure seems unrelated but not sure 🤔 |
CI failure is likely caused by the first commit. I'll look into it when I get the time. |
Tungstenite 0.17.1 has a higher MSRV, and there should be no reason to use it over 0.17.2.
0225eba
to
1d0800b
Compare
… to avoid dependencies with a broken minimum-versions chain.
So to reiterate, the issue was:
And |
Close. The |
Actually tower and tower-http both mattered, in the same way. Most links affected (at least in the doc section where I noticed) were for tower-http, but one was for tower (I think for a timeout middleware). |
* Use version 2 of Cargo's feature resolver * Increase minimum version of tungstenite Tungstenite 0.17.1 has a higher MSRV, and there should be no reason to use it over 0.17.2. * Clean up and fix MSRV CI job * Fix some intra-doc links not resolving correctly on docs.rs * Bump minimum version of tower … to avoid dependencies with a broken minimum-versions chain.
* Use version 2 of Cargo's feature resolver * Increase minimum version of tungstenite Tungstenite 0.17.1 has a higher MSRV, and there should be no reason to use it over 0.17.2. * Clean up and fix MSRV CI job * Fix some intra-doc links not resolving correctly on docs.rs * Bump minimum version of tower … to avoid dependencies with a broken minimum-versions chain.
Finally, with the help of @Nemo157, I was able to reproduce #1180 locally by adding
resolver = "2"
to the root workspace config. I added an extra feature that enables all oftower
andtower-http
s features, and is picked up by docs.rs throughall-features = true
, which ensures all the modules we want to link to are actually there whencargo doc
is run.Fixed #1180
Closes #1184