From 6394c3fe989ccba764768bb3e08ef8a8022f1c19 Mon Sep 17 00:00:00 2001 From: Arani Sen Date: Thu, 16 Mar 2023 09:49:29 -0500 Subject: [PATCH] init --- .DS_Store | Bin 0 -> 6148 bytes .gitignore | 1 + Cargo.toml | 16 ++++++++++++++++ src/main.rs | 3 +++ 4 files changed, 20 insertions(+) create mode 100644 .DS_Store create mode 100644 .gitignore create mode 100644 Cargo.toml create mode 100644 src/main.rs diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..1d217c531c9e140d357caa2f10650206066a7ec5 GIT binary patch literal 6148 zcmeHK!AiqG5S?jr2zcqy=F?#?$>jo84=}Zf-Hj(6Za@JiIat7Sz}Yrt5w@159gbJmajnlY|v_Zbh_G@tywZmxhU;0m|`u7E0lnk|+e8G7#uxB{*~uYl|i z0Zp)o*cs~9fljXgzzl9RjPMit!-($gz^f2N{DeB6fzdiug4g=m!B6#5-5u7Zmsgam_}6 literal 0 HcmV?d00001 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ea8c4bf --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/target diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..f8304a6 --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,16 @@ +[package] +name = "graphql-server" +version = "0.1.0" +edition = "2021" + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[dependencies] +warp = "0.2" +tokio = { version = "0.2", features = ["macros"] } +serde_json = "1.0" +futures = { version = "0.3.1", features = ["compat"] } +futures-macro = "=0.3.1" +juniper = { git = "https://github.com/graphql-rust/juniper", branch = "async-await", features = ["async"] } +tokio-postgres = { version = "0.5", features = ["with-uuid-0_8"] } +uuid = { version = "0.8", features = ["v4"] } 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!"); +}