cargo init

This commit is contained in:
HouXiaoxuan
2023-12-12 16:04:06 +08:00
parent 4eb3b088a3
commit 0e4755172b
3 changed files with 16 additions and 0 deletions

5
.gitignore vendored
View File

@@ -12,3 +12,8 @@ Cargo.lock
# MSVC Windows builds of rustc generate these, which store debugging information
*.pdb
# Added by cargo
/target

8
Cargo.toml Normal file
View File

@@ -0,0 +1,8 @@
[package]
name = "Git-Rust"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]

3
src/main.rs Normal file
View File

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