This plugin uses the common plugin keywords as well as those for “sources”. For more information, see Snapcraft parts metadata.
Additionally, this plugin uses the following plugin-specific keywords:
rust-features(list of strings)
NOTE: There are significant bugs in the rust plugin when used with the legacy version of Snapcraft. To avoid these issues, ensure you’re using Snapcraft 3.x and the base keyword in snapcraft.yaml. See the corresponding GitHub issue for more details.