Uses old Rust 2015
0.1.0 |
|
---|
#6 in #speak
10KB
212 lines
Spaceralk
Speak to Spacewalk XML-RPC API with Rust.
$ cargo run -- -U https://<spacewalk_addr:port>/ -m auth.login -j '["admin", "admin"]'
Result: String("<authkey>")
$ cargo run -- -U https://<spacewalk_addr:port>/ -m channel.listAllChannels -j '["<authkey>"]'
$ cargo run -- -U https://<spacewalk_addr:port>/ -m channel.software.listAllPackages -j '["<authkey>", "channel_label"]'
TODO
- HTTPS : https://github.com/hyperium/hyper/issues/985 - use a proxy for now.
- Better error handling.
Dependencies
~7MB
~161K SLoC