- cross-posted to:
- learningrustandlemmy@lemmy.ml
- cross-posted to:
- learningrustandlemmy@lemmy.ml
I threw together a rust client for lemmy to play a similar role to the lemmy-js-client.
You must log in or register to comment.
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.