txmyx

joined 1 year ago
[โ€“] [email protected] 4 points 6 months ago (2 children)

I don't like the rust way either. But at least you can unwrap

[โ€“] [email protected] 2 points 10 months ago
  1. Someone already mentioned it, but serving static files is possible

  2. It is unsafe, but everyone is doing it regardless.

And won't changes in those projects break my project eventually?

A new version of a dependency could be incompatible, but you shouldn't update your dependencies (expect vulnerabilities or important features, ...)

  1. Didn't understand it quite, but why are you not using express? It's way better than the built-in http server