This crate provides a simple interface to the rustup target command for listing and adding targets.
It uses the target-lexicon Triple to identify targets.
use Triple;
// get a list of all targets and if they are installed
let list: = list.unwrap;
// get all installed targets
let installed: = installed.unwrap;
// install some targets
install.unwrap;
Contributions
Contributions are welcome! Please open an issue or PR on GitHub