feat: init commit

This commit is contained in:
2020-08-08 23:19:11 +08:00
parent a802e56d33
commit 58364ec03c
3 changed files with 19 additions and 4 deletions

4
.gitignore vendored
View File

@@ -3,10 +3,6 @@
# will have compiled files and executables # will have compiled files and executables
/target/ /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 # These are backup files generated by rustfmt
**/*.rs.bk **/*.rs.bk

16
Cargo.toml Normal file
View File

@@ -0,0 +1,16 @@
[package]
name = "proxy-get-service"
version = "0.1.0"
authors = ["Hatter Jiang <jht5945@gmail.com>"]
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"

3
src/main.rs Normal file
View File

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