Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mkhan45/rustscript_site

Personal resume/portfolio site written in RustScript
https://github.com/mkhan45/rustscript_site

Last synced: about 1 month ago
JSON representation

Personal resume/portfolio site written in RustScript

Awesome Lists containing this project

README

        

A server for my personal resume/portfolio, written completely in [RustScript](https://mkhan45.github.io/RustScript2)

___

This server relies on two RustScript helper libraries:
- - to parse the TOML files in the assets folder (i.e. the `parse_toml()` function)
- - for routing/HTML templating (i.e. `template_file_string()` and `serve_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`](https://github.com/mirage/ocaml-cohttp) library.