From 58364ec03cbdb3220e648f6302398528c2fd8d24 Mon Sep 17 00:00:00 2001 From: Hatter Jiang Date: Sat, 8 Aug 2020 23:19:11 +0800 Subject: [PATCH] feat: init commit --- .gitignore | 4 ---- Cargo.toml | 16 ++++++++++++++++ src/main.rs | 3 +++ 3 files changed, 19 insertions(+), 4 deletions(-) create mode 100644 Cargo.toml create mode 100644 src/main.rs diff --git a/.gitignore b/.gitignore index 65f1105..a919aef 100644 --- a/.gitignore +++ b/.gitignore @@ -3,10 +3,6 @@ # will have compiled files and executables /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 diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..e4d5dac --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,16 @@ +[package] +name = "proxy-get-service" +version = "0.1.0" +authors = ["Hatter Jiang "] +edition = "2018" + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[dependencies] +tokio = { version = "0.2", features = ["full"] } +reqwest = "0.10" +serde = { version = "1.0", features = ["derive"] } +serde_json = "1.0" +warp = "0.2" +clap = "2.0" + 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!"); +}