alexandrehtrb / Pororoca

An API testing tool with support for HTTP/2 and HTTP/3. Alternative to Postman.
https://pororoca.io
Other
500 stars 38 forks source link

NativeAOT for Pororoca Desktop #32

Open alexandrehtrb opened 1 year ago

alexandrehtrb commented 1 year ago

It would be great if Pororoca Desktop could be published with NativeAOT, as it would mean smaller executable size and lower memory usage.

Avalonia supports NativeAOT and a sample project can be found here:

https://github.com/lixinyang123/AvaloniaAOT

Most of the work to make NativeAOT possible has already been done: all bindings are CompiledBinding. But needs work with JSON serialization and deserialization with NativeAOT.

Update (2023-11-27): problems found with trimming, importing OpenAPI stops importing request body examples. Needs to work on JSON warnings too