Initialize cargo

This commit is contained in:
2023-03-02 11:12:47 +09:00
parent eb191d826b
commit 981e78b6bb
5 changed files with 22 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
/target

7
Cargo.lock generated Normal file
View File

@@ -0,0 +1,7 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
version = 3
[[package]]
name = "fldsmdfr"
version = "0.1.0"

6
Cargo.toml Normal file
View File

@@ -0,0 +1,6 @@
[package]
name = "fldsmdfr"
version = "0.1.0"
edition = "2021"
[dependencies]

5
shell.nix Normal file
View File

@@ -0,0 +1,5 @@
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
packages = [ pkgs.cargo ];
}

3
src/main.rs Normal file
View File

@@ -0,0 +1,3 @@
fn main() {
println!("Hello, world!");
}