Hey guys, my crate's documentation is not shown on docs.rs (github, docs.rs).
Can anyone help me resolve this?
I am not that new to Rust, but I haven't had that problem ever.
I noticed that on the Builds section docs.rs built my crate as "nightly", even though I wrote it using stable.
Why is that?
This discusson on zulip might be relevant to debugging the issue (link requires you to create a zulip account if you don't already have one). In particular, it sounds like docs.rs uses cargo rustdoc instead of cargo doc, which is apparently the same as running cargo doc --no-deps. So you may want to try running that locally if you haven't already.
My crate provides derive macros (EnumMatch and EnumTake), thus my library is a proc-macro crate.
This requires to set proc-macro = true under [lib] in Cargo.toml. cargo also accepts proc_macro instead of proc-macro, but docs.rs does not. I had used proc_macro. I changed that to proc-macro and now version 0.1.1's documentation is shown. github issue