/devshell-rust

Nix development environment for Rust

Primary LanguageNixOtherNOASSERTION

Devshell-Rust

A nix flake based development environment for the Rust programming language with rust-toolchain and cargo support.

How to use

This devshell is intended to be pulled into your project as a git submodule. The idea is to manage changes in a separate and centralized repository. If different versions need to be maintained then those should be stored on separate branches.

To use devshell-rust and assuming you are using nix-direnv:

  1. Add it as a git submodule git submodule add https://github.com/99linesofcode/devshell-rust ./devshell
  2. Define a .envrc in your project root folder echo use flake ./devshell >> .envrc
  3. Run direnv allow
  4. Add .direnv/ to your .gitignore

Contributing

Please review our Contribution Guidelines.

Code of Conduct

In order to ensure that the community is welcoming to all, please review and abide by the Code of Conduct.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

License

This software is open source and licensed under the MIT license