Skip to content

code-lever/asdf-rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 

Repository files navigation

asdf-rust

Build Status

Rust plugin for asdf version manager.

Install

asdf plugin-add rust https://github.com/code-lever/asdf-rust.git

After you have installed rust, do NOT follow the directions it outputs to update your PATH -- asdf's shim will handle that for you!

Use

Check asdf readme for instructions on how to install & manage versions of Rust.

Default cargo crates

asdf-rust can automatically install a default set of packages with cargo right after installing a Rust version. To enable this feature, provide a $HOME/.default-cargo-crates file that lists one package per line, for example:

// cli-tools
ripgrep

// install from source
--git https://github.com/sharkdp/bat

You can specify a non-default location of this file by setting a ASDF_CRATE_DEFAULT_PACKAGES_FILE variable.

ASDF_RUST_PROFILE variable can be used to install different from default profile (e.g. minimal or complete).

About

Rust plugin for the asdf version manager

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages