I see a list of Rust attributes at Attributes - The Rust Reference. It seems that commonly used attributes include derive and allow, and for writing tests, test and should_panic. Are there others that you use frequently?
I wish Rust referred to these as "decorators" instead of "attributes" because the latter isn't very searchable.
We are not using the #[doc = "text goes here"] form of the attribute. See the screenshot above for the kind of thing we typically use it for.
The #[doc] attribute
The doc attribute has more options though! These don't involve the text of the output, but instead, various aspects of the presentation of the output. We've split them into two kinds below: attributes that are useful at the crate level, and ones that are useful at the item level.