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:
cargo install cargo-memex
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
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.
Licensed under either of these: