项目作者: WasmPot

项目描述 :
cargo command to encode a bunch of static files into base64 and contained in a rust file as Hashmap
高级语言: Rust
项目地址: git://github.com/WasmPot/cargo-brust64.git
创建时间: 2020-11-30T14:26:12Z
项目社区:https://github.com/WasmPot/cargo-brust64

开源协议:MIT License

下载


Brust64

A cargo command to encore a bunch of static files into base64 and contained in a rust file as Hashmap.

TODO

  • 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 ?

Install

  1. cargo install --path .

Usage

  1. cargo brust64 -d <src_directory> -o file.rs

🏗 WIP…