factorio-bitpacker

Crates.iofactorio-bitpacker
lib.rsfactorio-bitpacker
version0.1.2
sourcesrc
created_at2021-12-03 01:23:12.019917
updated_at2021-12-17 13:23:55.532522
descriptionA crate to pack binary blobs into a blueprint string containing factorio combinators.
homepagehttps://sr.ht/~micycle/factorio-bitpacker/
repositoryhttps://sr.ht/~micycle/factorio-bitpacker/
max_upload_size
id491495
size64,389
(bitnetwork)

documentation

README

factorio-bitpacker

Factorio bitpacker is a crate that packs any arbitrary binary blob into a blueprint string containing factorio combinators. It uses a signal format to densely pack values into as little combinators as possible.

Install with cargo install factorio-bitpacker, or you can install from source by cloning and running cargo run.

usage

factorio-bitpacker 0.1.2
Packs any arbitrary binary blob into a blueprint containing factorio
combinators. Uses a dictionary of 256 signals to densely many values into a
small space. For inputs which exceed 1KB, a separate set of combinators is
created and should be wired separately to avoid interference.

USAGE:
    factorio-bitpacker [ARGS]

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

ARGS:
    <input>     Binary input file, defaults to stdin if not present
    <output>    Blueprint string output file, defaults to stdout if not present

Copyright © 2021 "micycle".
Licensed GPLv3: GPL version 3 <https://gnu.org/licenses/gpl.html>.
This program is free software: you are free to change and redistribute it under
the terms of the License. There is NO WARRANTY, to the extent permitted by law.
Commit count: 0

cargo fmt