Open
Description
I thought at first about using [profile.doc]
, but it is doing nothing (as displayed by cargo itself) and there are no other way to do so.
Then I looked a bit deeper and noticed that you can't set features under profiles, making this not the right approach.
Therefore, I suggest adding a new section simply called "rustdoc" which would allow for now:
[rustdoc]
features = ["whatever"]