Elektrine lite

← Feed

@ezivkovic@hachyderm.io

Post #757590

2026-03-15 20:24 UTC

I've forked! A library! I forked the #rust crate async-stomp and out the other end came stomp-agnostic, a crate that lets you have STOMP over any transport you implement. Other crates I surveyed all either tie you to a specific transport (mostly TCP) or a specific async runtime (Tokio or Actix). stomp-agnostic lets you pick your own async runtime and lets you (easily, in my opinion) implement any protocol for transport that you need. In my own projects I have implemented both the server trait and client trait to use WebSocket through tokio-tungstenite. I blaged about it - have a look and let me know if you find it useful, or dumb, or just a spelling error maybe? https://zkc.se/blog/stomp-agnostic/ I hope you enjoy reading it as much as I did writing it!

Replies (1)

  • @ezivkovic@hachyderm.io 2026-03-15 20:31

    Also, like damn, I'm really proud of the way my site looks now, and that it's equally beautiful in light and dark mode. Hope you enjoy it ✨

    Open ##2950420