Do you know how to make cargo doc
document nicely what features are required for some code to be included / work? Much like this example from tokio
:
How should I annotate my code? What arguments should I pass to cargo
? I want to include documentation like this in my own crate, but all attempts I made failed.