rust-shell icon indicating copy to clipboard operation
rust-shell copied to clipboard

Nix shells for Rust development

GitHub stars Donate!

Rust shell

Description

This package provides a Nix flake ready to use for Rust development, using the Nix package manager which can be installed on (almost) any operating system.

Each available environment provides the following tools:

  • Rust,
  • Cargo

Available Rust versions are:

  • stable
  • beta

Available Rust profiles are:

  • default
  • minimal

Usage

To work with Rust beta with default profile:

nix develop github:loophp/rust-shell#beta-default

Available Rust shells are:

  • stable-default
  • stable-minimal
  • beta-default
  • beta-minimal

With direnv

To use it in your Rust project with nix-direnv, just create a file .envrc with the following content:

use flake github:loophp/rust-shell

Contributing

Feel free to contribute by sending pull requests. We are a usually very responsive team and we will help you going through your pull request from the beginning to the end.

For some reasons, if you can't contribute to the code and willing to help, sponsoring is a good, sound and safe way to show us some gratitude for the hours we invested in this package.

Sponsor me on Github and/or any of the contributors.

Changelog

See CHANGELOG.md for a changelog based on git commits.

For more detailed changelogs, please check the release changelogs.