It would be great to have a list of the required features for a code item exposed. I'm guessing this would be implemented by parsing cfg or cfg_attrs from the attrs and resolving those. It seems like it should be possible since docs.rs has the info available, but I'm not sure how it resolves it.