From 39850ac25082fdb0920b0e28accab86297254407 Mon Sep 17 00:00:00 2001 From: zhangxinyu <840317537@qq.com> Date: Wed, 10 May 2023 15:59:03 +0800 Subject: [PATCH] =?UTF-8?q?ch1=E5=88=9D=E5=A7=8B=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ch1/Cargo.toml | 8 ++++++++ ch1/src/main.rs | 3 +++ 2 files changed, 11 insertions(+) create mode 100644 ch1/Cargo.toml create mode 100644 ch1/src/main.rs diff --git a/ch1/Cargo.toml b/ch1/Cargo.toml new file mode 100644 index 0000000..9fbc4c2 --- /dev/null +++ b/ch1/Cargo.toml @@ -0,0 +1,8 @@ +[package] +name = "ch1" +version = "0.1.0" +edition = "2021" + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[dependencies] diff --git a/ch1/src/main.rs b/ch1/src/main.rs new file mode 100644 index 0000000..e7a11a9 --- /dev/null +++ b/ch1/src/main.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Hello, world!"); +}