| src | enh: config updates | |
| .gitignore | A fresh start. | |
| Cargo.lock | enh: update default config | |
| Cargo.toml | enh: update default config | |
| README.md | A fresh start. | |
| rustfmt.toml | A fresh start. | |
SPAM - A Software PAckage Manager
This is the Rust version of spam, and is meant to work exactly as the Python version.
Clone and compile for release with:
git clone ssh://git@codeberg.org/aol/spam-rs.git
cd spam-rs/
cargo build --release
# optional:
cp ./target/release/spam ~/.local/bin/
See the CLI and configuration documentation at the Python spam readme.
Cross Compiling
Once built, this port is easier to deploy to a small/embedded environment like OpenWRT where a sprawling Python install is not practical for the relatively small amount of functionality provided by this tool.
You will likely need to install an ARM/RISC-V target if not building on such a device.
Issues
Unfortunately, there's an issue in ConfigParser-rs that lines after semicolons are ignored:
That's been worked around by limiting comment chars to the Hash/Pound character
(#) only.
So there's a small limitation that semicolons are not available to start comments in your config.ini.
Update: this was fixed in configparser-rs, not sure when/version it will arrive.