1
0
Fork
You've already forked spam-rs
0
A Software PAckage Manager utility, Rust version
  • Rust 100%
2026年06月14日 20:15:29 -07:00
src enh: config updates 2026年06月14日 20:15:29 -07:00
.gitignore A fresh start. 2026年04月20日 12:33:00 -07:00
Cargo.lock enh: update default config 2026年06月06日 16:57:34 -07:00
Cargo.toml enh: update default config 2026年06月06日 16:57:34 -07:00
README.md A fresh start. 2026年04月20日 12:33:00 -07:00
rustfmt.toml A fresh start. 2026年04月20日 12:33:00 -07:00

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.