I was wondering if its possible to start and run simple-http-server from within my program. I did add the simple-http-server as my dependency in my cargo.toml, however I dont know if its possible to start the server within my program. thank you for any help, or if you have other library recommendation that I can do what I am looking for.
Any ideas or examples I can use, how I can serve static contents like html, js, images, fonts etc. The examples in tiny-http are not really helpful to give a good starting point on building a http server to serve static contents.