diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..1d217c5 Binary files /dev/null and b/.DS_Store differ 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!"); +}