blob: 59cf13b70688f24817edbebcbc7ad01a9706d9be (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# A single binary blog
After reading [this
article](https://www.andreinc.net/2022/04/10/a-blog-that-is-a-single-executable-binary)
by Andrei Ciobanu it sparkled in me to do the same thing but with rust.
It is going to be a bit bigger than micro though ;)
To achieve that I'll be using the following:
- Sailfish for templating
- hyper for http server
- rust-embed for adding the files into the binary.
## Goals
* the whole blog should be a single binary
* keep everything in one request
* try to keep it under 50kB and a hard set at 100kB before any kind of
compression or minification.
|