Open
Description
Problem
Currently cargo metadata does not expose which custom build profiles are available.
For corrosion which integrates cargo into CMake it would be nice to expose a list of available build profiles for users to choose from (e.g. in a graphical interface for configuring CMake cache variables).
Proposed Solution
Add an additional field to the package
section which contains an array of available profile names (dev
, release
, test
, bench
plus any custom profiles).
Notes
No response