Awesome
A server for my personal resume/portfolio, written completely in RustScript
This server relies on two RustScript helper libraries:
- https://github.com/mkhan45/rustscript_toml/ - to parse the TOML files in the assets folder (i.e. the
parse_toml()
function) - https://github.com/mkhan45/rustscript_web - for routing/HTML templating (i.e.
template_file_string()
andserve_endpoints()
)
While rustscript_web
handles all of the routing and a lot of HTTP setup, the actual HTTP(S) implementation is done through RustScript's start_server()
and start_server_ssl()
builtins, which leverage the ocaml-cohttp
library.