rustup-configurator

Crates.iorustup-configurator
lib.rsrustup-configurator
version0.1.2
sourcesrc
created_at2023-02-14 16:30:23.20541
updated_at2024-06-02 15:04:27.914319
descriptionHelper for listing and adding rustup targets and toolchains (coming)
homepage
repositoryhttps://github.com/akesson/rustup-configurator
max_upload_size
id785049
size14,956
henrik (akesson)

documentation

README

Rustup Configurator

This crate provides a simple interface to the rustup target command for listing and adding targets in Rust. It's designed to make managing your Rust targets easier and more efficient.

Usage

use rustup_configurator::target::Target;

// Get a list of all targets and if they are installed
let list: Vec<Target> = rustup_configurator::target::list().unwrap();

// Get all installed targets
let installed: Vec<Target> = rustup_configurator::target::installed().unwrap();

// Install some targets
rustup_configurator::target::install(&["aarch64-apple-ios".into()]).unwrap();
# Contributions

Contributions are welcome! Please open an issue or PR on GitHub

Commit count: 14

cargo fmt