-
-
Notifications
You must be signed in to change notification settings - Fork 777
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
docs.rs for dependent crates seems broken #1295
Comments
Related commit: c81bab1. I think the fix should have used a Cargo feature instead of a [package.metadata.docs.rs]
features = ["serde/docs_rs_temporary_workaround"] |
@mbillingr if you don't mind, I'd prefer explaining this whole situation with a timeline (using YYYY.MM.DD format to eliminate confusions):
Seems like the natural progression of a language to make code work better and look prettier -- and this makes people happy. Alas, there is a roadblock: the Thankfully, the work needed to fix this is ongoing: there is a PR filed to docs.rs repo to update its Rust version: https://github.com/onur/docs.rs/pull/207. But it it unknown when the PR gets merged. Time will tell. |
@hcpl thank you for the detailed explanation. I had not realized docs.rs was using an old version of rustc (somehow focussing on the 1.26 part and missing the 2018-03-16). I guess the issue can be closed, or maybe you want to leave it open for now as a landing pad for other misguided souls? |
I published Serde 1.0.64 with a workaround that should make this work. To confirm, I published a version of serde_json and it seems to have built successfully in docs.rs. Thanks all! Before: https://docs.rs/serde_json/1.0.18/serde_json/ |
@mbillingr anyone may copy around my comment (#1295 (comment)) to spread the information if they wish so. Or they can just link to the comment which also works. @dtolnay oh wow -- 34a7108#diff-beade9a1819c15eaafbb1eb58aca7e3bR57 -- that's a nice trick, I like it. |
I just published a new version of a crate that depends on serde, and noticed that the documentation went missing. Here is the build log: https://docs.rs/crate/arff/0.2.0/builds/101512.
(excerpt)
I do not use 128 bit integers and did not enable them (at least not intentionally). Running the test suite and building the docs works on CI and locally.
No idea what's going on there :) I'm not even really sure this is an issue with serde, but no other dependencies are affected as far I can tell.
Cheers
P.S.: Looks like other recently upgraded crates are affected too (e.g. validator, rkv)
The text was updated successfully, but these errors were encountered: