Skip to content

eddien24/rust-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Eddie's Rust Template

Minimal template for Rust projects to be used with Nix developement environments.

Requirements

  • Flakes-enabled installation of Nix

Installation

I like to use cargo-generate

cargo generate eddien24/rust-template

Usage

  • nix develop: start developement shell.
    • First launch: need to git add . so it creates flake.lock
  • Use cargo as you would for building, testing, etc

Modified from MordragT/nix-templates.