16 lines
256 B
Markdown
16 lines
256 B
Markdown
# Rust project scaffold
|
|
|
|
## use this repo
|
|
|
|
```
|
|
nix-shell -p cargo --run 'cargo update'
|
|
nix-shell --expr 'with import <nixpkgs> {}; rustPackages.callPackage ./shell.nix {}'
|
|
```
|
|
|
|
or with flakes
|
|
|
|
```
|
|
nix shell nixpkgs#cargo --run cargo update
|
|
nix develop
|
|
```
|