Suggestion
The existing windows-reactor-setup crate doesn't support customizing app.manifest, causing developers cannot add other items to the existing manifest.
For example. I want to embed this manifest in my app:
But when I try doing so by using crate embed-resource, a linking error is displayed:
As windows_reactor_setup::as_self_contained() completes copying manifest and embedding it in app all at once, there are no ways to merge these two manifests.
Besides that, the existing behavior also made embedding resource file (*.rc file) impossible. That means, developers cannot embed app icon and file info in binary.
Considering both of them are practical, I think this can be improved by opening some APIs to allow developers to add their own items to manifest, and to customize app icon and file info.
Suggestion
The existing
windows-reactor-setupcrate doesn't support customizingapp.manifest, causing developers cannot add other items to the existing manifest.For example. I want to embed this manifest in my app:
But when I try doing so by using crate
embed-resource, a linking error is displayed:As
windows_reactor_setup::as_self_contained()completes copying manifest and embedding it in app all at once, there are no ways to merge these two manifests.Besides that, the existing behavior also made embedding resource file (
*.rcfile) impossible. That means, developers cannot embed app icon and file info in binary.Considering both of them are practical, I think this can be improved by opening some APIs to allow developers to add their own items to manifest, and to customize app icon and file info.