simple-http-server
simple-http-server copied to clipboard
Turn simple-http-server into a library
So we can embed simple-http-server
into an Application
.
Will do it after replace iron
with actix-web
.
Hey @TheWaWaR !
I think this is an excellent idea!
I would suggest a refactor on main.rs
file, maybe parsing arguments in another crate and build the server instance from an struct
which fields represents the CLI arguments?