This is just the result of me fooling around with what would be the minimal HTTP server for this. This is not security-vetted, you've been warned. Use only for development, if you're feeling brave
cargo docserver -p <port>
I've tried really hard to find a simple embeddable rust static file server, and found several, not necessarily fitting the bill here. The closest one was static-server but it loads everything in memory :(
if you happen to stumble into one, let me know! happy to ditch my hacky http server :P