git-credential-manager
git-credential-manager copied to clipboard
Publish GCM-Core as Trimmed self-contained executable on Linux
Enable publishing as Trimmed on Linux
This should reduce the binary size quite substantially but will require some thorough testing.
This would be beneficial. I understand that .NET 6 will have even better trimming, so perhaps when we take that upgrade, we can address this.
Don't want motivation because it is temporary. Be crazy about inspiration positive things
To enable trimming we would need to:
- Migrate from
Newtonsoft.JsontoSytem.Text.Jsonin Source Generator Mode. - Migrate to
.NET 7where trimming is much improved. - Update MSAL and System.Commandline and Avalonia to the latest (preview) versions that support trimming.
- Thorough testing.