txmyx
joined 1 year ago
I don't like the rust way either. But at least you can unwrap
-
Someone already mentioned it, but serving static files is possible
-
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, ...)
- Didn't understand it quite, but why are you not using express? It's way better than the built-in http server