time-rs/time

Add what features should be enabled in docs

InAnYan opened this issue · 3 comments

Was annoyed when Rust compiler couldn't find OffsetDateTime::parse method, when it turns out it's only available when feature parsing enabled.

Typically, in documentation there is note like "available only with parsing feature", or something like that.

I suppose there are other places where there is no such note

On docs.rs, this is showing exactly as expected. On time-rs.github.io, the annotations aren't showing for some reason. I just regenerated the docs in CI to no avail. I presume this goes back to the recent commit changing from __time_03_docs to docsrs for the cfg, but I'm unable to reproduce locally. Happy to accept a PR with the necessary changes.

Oh, I should've checked and mentioned that I used time-rs.github.io, sorry, yes :)

The problem is only on time-rs.github.io