A cargo command to encore a bunch of static files into base64 and contained in a rust file as Hashmap.
- check extensions (only html, css, js)
- check errors when calling unwrap()
- documentation
- ignore-extension flag
- extract code from main and create a cli module
- testing
- code security (avoid being root from this command), file injection ?
cargo install --path .
cargo brust64 -d <src_directory> -o file.rs
🏗 WIP...