Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/asdf-community/asdf-rust

Rust plugin for the asdf version manager
https://github.com/asdf-community/asdf-rust

asdf asdf-plugin

Last synced: 4 days ago
JSON representation

Rust plugin for the asdf version manager

Awesome Lists containing this project

README

        

# asdf-rust

[Rust](https://www.rust-lang.org) plugin for asdf version manager

## Build History

[![Build history](https://buildstats.info/github/chart/asdf-community/asdf-rust?branch=master)](https://github.com/asdf-community/asdf-rust/actions)

## Installation

```bash
asdf plugin-add rust https://github.com/asdf-community/asdf-rust.git
```

## Usage

Check [asdf](https://github.com/asdf-vm/asdf) readme for instructions on how to
install & manage versions.

## Configuration

By default, `asdf-rust` installs rust via
[Standalone installers](https://forge.rust-lang.org/infra/other-installation-methods.html)
with all included components.

That include docs, which may easily use around ~50% of total installation. For
this reason, environment variable `RUST_WITHOUT` exists, which takes
comma-separated list of components NOT to install:

```sh
RUST_WITHOUT=rust-docs,rust-other-component asdf install rust 1.51.0

# Or in .profile
export RUST_WITHOUT=rust-docs
```

## License

Licensed under the
[Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0).