i.e. #[cfg_attr(feature = "?", doc = "some code example")]
Possible solutions:
Find a way to make doctests unconditional, exclude doctests from cargo hack runs, then only run doctests with specific features turned on. But there seems to be no way to exclude doctests from a test run.
Fix cargo rdme so that it can interpret feature flags
Write a new readme generator (a lot of work?)
Don't autogenerate readme file (also a lot of manual sync work)
Make README a much smaller, standalone document, with links to docs.rs for specific features
i.e.
#[cfg_attr(feature = "?", doc = "some code example")]
Possible solutions:
cargo hack
runs, then only run doctests with specific features turned on. But there seems to be no way to exclude doctests from a test run.