cargo-memex
Besides their size, rust binaries have a significant disadvantage: rust binaries are not memes yet.
cargo-memex is a cargo subcommand that makes it easy to ditch basic rust binaries in favor of memes, which is arguably the far superior format for executable rust files.
Standard rust binaries always look the same, which means consistently boring: .
With cargo-memex they can look like this:

Another limitation of rust binaries is, that debug and release executables are visually indistinguishable.
cargo-memex fixes this problem by displaying the two different target destinations by default with the corresponding segment of:

Installation
cargo install cargo-memex
Usage

Compile your current project into the meme above, for other built in memes see resources
cargo memex build tradeoffer
Compile your current project into happy hank
cargo memex build --release
Compile with local meme
cargo memex build ./meme.jpg
Use a jpeg meme on the web
cargo memex build "https://meme.jpg"
To execute a memex executable meme
cargo memex exec meme.jpg
Build then execute in one step
cargo memex run
Roadmap
To achieve feature parity with cargo support for publishing memes will be required. Unfortunately crates.io does not support publishing crates as memex memes yet. So in the meantime, another solution needs to be developed.
The recent NFT frenzy has shown that there is a high demand for NFT based solutions, and that especially memes can be very lucrative.
Hence, solutions for cargo-memex are currently being investigated in order to tap this growing market.
Ideally, the cargo publish subcommand should be extended by an --nft option, so that developers can directly publish a new version of their rust project as a memex NFT.
Known Limitations
- only works on unix
- only jpeg supported at this point
Licensed under either of these:
- Apache License, Version 2.0, (LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or https://opensource.org/licenses/MIT)
- The Jpeg encoder/decoder adapter are slightly modified copies of image-rs/image which are license under MIT
- The Jpeg decoder is a slightly modified copy of image-rs/jpeg-decoder which are license under either of