Include README as rustdoc at the crate level

Is it now possible to include a README.md file as crate-level documentation? My lib.rs looks like:

#![cfg_attr(not(test), no_std)]
#[doc = include_str!("../../README.md")]

...which doesn't appear to generate the crate-level doc...

Shouldn't the doc attribute be #! as well?

1 Like

Gosh, that's embarrassing! Thanks for the quick response!

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.