All Projects → fubarhouse → ansible-role-rust

fubarhouse / ansible-role-rust

Licence: MIT License
Ansible role for installing the Rust programming language

Projects that are alternatives of or similar to ansible-role-rust

brainhug
A simple brainfuck translator crate in Rust
Stars: ✭ 14 (-36.36%)
Mutual labels:  crate
cargo-esr
Extended Search & Ranking tool for crates.
Stars: ✭ 23 (+4.55%)
Mutual labels:  crate
libsodium-sys-stable
Sodiumoxide's libsodium-sys crate, but that installs stable versions of libsodium.
Stars: ✭ 16 (-27.27%)
Mutual labels:  crate
pipe-trait
Make it possible to chain regular functions
Stars: ✭ 22 (+0%)
Mutual labels:  crate
worker-kv
Rust bindings to Cloudflare Worker KV Stores
Stars: ✭ 36 (+63.64%)
Mutual labels:  crate
exrs
100% Safe Rust OpenEXR file library
Stars: ✭ 79 (+259.09%)
Mutual labels:  crate
twitch-irc-rs
Twitch IRC library for the Rust programming language
Stars: ✭ 58 (+163.64%)
Mutual labels:  crate
kul
A unique textual notation that can be used as both a data format and a markup language and that has powerful extensibility of both lexical syntax and semantics, and a Rust library for parsing it.
Stars: ✭ 12 (-45.45%)
Mutual labels:  crate
png pong
A pure Rust PNG image decoder and encoder based on lodepng.
Stars: ✭ 21 (-4.55%)
Mutual labels:  crate
crane
A Nix library for building cargo projects. Never build twice thanks to incremental artifact caching.
Stars: ✭ 348 (+1481.82%)
Mutual labels:  crate
prettysize-rs
Pretty-print file sizes and more
Stars: ✭ 29 (+31.82%)
Mutual labels:  crate
git-global
Keep track of all your git repositories.
Stars: ✭ 23 (+4.55%)
Mutual labels:  crate
easy reader
⏮ ⏯ ⏭ A Rust library for easily navigating forward, backward or randomly through the lines of huge files.
Stars: ✭ 83 (+277.27%)
Mutual labels:  crate
Migrate
Database migrations. CLI and Golang library.
Stars: ✭ 2,315 (+10422.73%)
Mutual labels:  crate
pixel-canvas
A crate to make drawing in a buffer of pixels easy!
Stars: ✭ 19 (-13.64%)
Mutual labels:  crate

Logo for the Rust programming language

Ansible Role: Rust

Build Status stability-stable Ansible Rust MIT licensed

  • Install Rust from source (when configured)
  • Install Rust from recommended installer
  • Install cargo packages
  • Support 20 linux platforms, as done by the Go and Node roles.

Requirements

  • curl
  • gcc

Role Variables

The version of rust is dependent on a source installation.

rust_version: 1.31.0

By default, the role will not install from source.

build_rust_from_source: false

After any initial installation, you can make sure the script updates Rust using:

rust_update: false

To ensure a clean installation on each playbook run, you can use:

rust_install_clean: false

To ensure the role installs to your shell profiles, you can specify them:

shell_profiles:
- .bash_profile

And, to install any cargo you can use the cargo_items array. The binary property is optional, and when specified the binary installation will be verified.

cargo_items:
  - name: ripgrep
    binary: rg

Installation

  • Install using ansible-galaxy install fubarhouse.rust
  • Add this role to your playbook.
  • Modify above variables as desired.

License

MIT / BSD

Author Information

This role was created in 2017 by Karl Hepworth.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].