diff --git a/users/wpcarro/scratch/rust/.gitignore b/users/wpcarro/scratch/rust/.gitignore new file mode 100644 index 000000000..9f970225a --- /dev/null +++ b/users/wpcarro/scratch/rust/.gitignore @@ -0,0 +1 @@ +target/ \ No newline at end of file diff --git a/users/wpcarro/scratch/rust/README.md b/users/wpcarro/scratch/rust/README.md new file mode 100644 index 000000000..9ff7dd97e --- /dev/null +++ b/users/wpcarro/scratch/rust/README.md @@ -0,0 +1,11 @@ +# Rust + +Watch me fumble around as I learn Rust. + +## Usage + +```shell +$ nix-shell /depot -A users.wpcarro.scratch.rust +$ cargo new json && cd ./json +$ cargo run json +``` diff --git a/users/wpcarro/scratch/rust/shell.nix b/users/wpcarro/scratch/rust/shell.nix new file mode 100644 index 000000000..064e7d8bb --- /dev/null +++ b/users/wpcarro/scratch/rust/shell.nix @@ -0,0 +1,7 @@ +{ pkgs, ... }: + +pkgs.mkShell { + buildInputs = [ + pkgs.cargo + ]; +}