From 0e55223973082681696eb29f9233cb47893c52cb Mon Sep 17 00:00:00 2001 From: Jia Chao Date: Thu, 11 Jul 2024 14:19:49 +0800 Subject: [PATCH] init Signed-off-by: Jia Chao --- .gitignore | 22 ++++++++++++++++++++++ Cargo.toml | 8 ++++++++ README.md | 3 +++ src/main.rs | 3 +++ 4 files changed, 36 insertions(+) create mode 100644 .gitignore create mode 100644 Cargo.toml create mode 100644 README.md create mode 100644 src/main.rs diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..471d11f --- /dev/null +++ b/.gitignore @@ -0,0 +1,22 @@ +# Generated by Cargo +# will have compiled files and executables +debug/ +target/ + +# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries +# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html +Cargo.lock + +# These are backup files generated by rustfmt +**/*.rs.bk + +# MSVC Windows builds of rustc generate these, which store debugging information +*.pdb + + +# Added by cargo + +/target + +# ignore swp +**/*.swp diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..7e7b407 --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,8 @@ +[package] +name = "cuweb-syncer" +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/README.md b/README.md new file mode 100644 index 0000000..edbd284 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# CU-WEB-SYNCER + +cuweb-sycner 是一个用于从远程服务器同步文件的命令行工具。 diff --git a/src/main.rs b/src/main.rs new file mode 100644 index 0000000..e7a11a9 --- /dev/null +++ b/src/main.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Hello, world!"); +}