ndk-build,cargo-apk: Rename intent_filters
back to intent_filter
#305
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #304, CC @Hoodad
We commonly name vectors of items with their singular form so that they read nicer in TOML and XML (i.e.
[[intent_filter]]
adds a single entry to that list, and gets serialized as a single<intent-filter>
XML element) and this matches Android'sintent-filter
naming too.This change in a6f3e13 ("ndk-build: Move default serialization of
MAIN
intent filter tocargo-apk
(#241)") was made purely withVec
in mind, but breaks existing manifest parsing nor was anticipated to be a breaking change in this area as the README still carriesintent_filter
instead ofintent_filters
in itsCargo.toml
metadata reference.I want to try landing this without yet-another breaking release for
ndk-build
: can we do that by yanking the previous releases? We don't need a breaking release forcargo-apk
either way, but it may be nice to yank their older releases too.