darksoil-studio / p2p-shipyard

Ship cross-platform p2p apps
http://darksoil.studio/p2p-shipyard/
9 stars 5 forks source link

build: reduce size of release bundle with rust compiler optimizations #30

Closed mattyg closed 4 weeks ago

mattyg commented 1 month ago

Currently a basic holochain app apk (built for 5 cpu targets) is ~500MB. A basic tauri app apk is ~50MB.

I think most of the bundle size is from having holochain as a dep. With rust compiler optimizations for size we can cut that in half.

mattyg commented 1 month ago

actually maybe this isn't necessary as the compiler flags are already set at the workspace level