A rust template

This commit is contained in:
bluepython508
2023-12-12 21:51:35 +00:00
parent 3ee80f4734
commit c35a075586
9 changed files with 997 additions and 0 deletions

47
rust-tmpl/manifest.toml Normal file
View File

@@ -0,0 +1,47 @@
[parameters.name]
description = "The name of the project"
default = "{{ name }}"
[[commands]]
command = "git"
args = ["init"]
[[commands]]
command = "git"
args = ["add", "."]
[[commands]]
command = "nix"
args = ["flake", "update"]
[[commands]]
command = "direnv"
args = ["allow"]
[[commands]]
command = "nix"
args = ["develop", "--command", "cargo", "update"]
[[commands]]
command = "git"
args = ["commit", "-am", "Initial Commit"]
[files."Cargo.toml"]
[files.".envrc"]
[files."flake.lock"]
[files."manifest.toml"]
[files."toolchain.toml"]
[files."Cargo.lock"]
[files.".gitignore"]
[files."flake.nix"]
[files."src/main.rs"]