pictors

Crates.iopictors
lib.rspictors
version0.1.1
sourcesrc
created_at2018-08-22 23:17:02.332055
updated_at2018-08-23 00:31:15.499506
descriptionCreate Rust code from binary files like pictures.
homepage
repositoryhttps://github.com/Debily/Pic-to-Rs
max_upload_size
id80820
size6,296
SmashedCanary (SmashedCanary)

documentation

README

Pic to Rs

This very little application allows you to convert pictures or other binary files to Rust code.

Why?

If you don't want to deploy your software with additional files so that it is just one binary this is will be quite handy. Though it was originally developed for importing pictures you can import any file with it.

Usage

Linux: ./pictors -i inputfile.png -o outputfile.rs

If -o is not provided it will just create an output file with the same name as the input file but with the ".rs" extension. If the file already exists it will open the file and append the generated code.

Commit count: 0

cargo fmt