- cross-posted to:
- learningrustandlemmy
- cross-posted to:
- learningrustandlemmy
I threw together a rust client for lemmy to play a similar role to the lemmy-js-client.
I threw together a rust client for lemmy to play a similar role to the lemmy-js-client.
Its small size is due to having few dependencies and not having a lot of code itself. It also helps that I use different dependencies depending on whether or not it is compiled to target WASM. The library I use for WASM, gloo-net, is a thin WASM wrapper around the browser’s fetch API, which should keep the binary smaller when sent to the browser.
Thank you for the explanation!