This program extracts feature variations from a rust project based on all .csvconf configuration files in a folder.
Each line represents a feature and whether it is enabled (true) or disabled (false). Example:
featureA, true
featureB, false
To run the extraction script, use the following command:
./extract.sh /path/to/source /path/to/csvconf/folder /path/to/destinationthis will extract the variations and save them to the specified destination folder.
You can generate .csvconf files using the cargo-feature-analyzer tool. Specifically, the following commit was used:
https://github.com/Bjarkehp/cargo-feature-analyzer/commit/40ee633b8d21d281c9449fe9d8018e2f765ed6e2