From b1fb410affb7bcd2e714abac01d22c4a5332c344 Mon Sep 17 00:00:00 2001 From: Tyler Murphy Date: Mon, 6 Mar 2023 18:50:08 -0500 Subject: finish dns and start webserver --- Cargo.toml | 32 +++++++++++++++++++++++++++++--- 1 file changed, 29 insertions(+), 3 deletions(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index a8c6cd9..c114ff5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,8 +4,34 @@ version = "0.1.0" edition = "2021" [dependencies] +# Blazingly fast runtime tokio = { version = "1", features = ["full"] } -async-recursion = "1" -tracing = "0.1.37" tracing-subscriber = "0.3.16" -moka = { version = "0.10.0", features = ["future"] } \ No newline at end of file +tracing = "0.1.37" + +# Allow recursion inside tokio async +async-recursion = "1" + +# DNS Caching Layer +moka = { version = "0.10.0", features = ["future"] } + +# Mongodb +mongodb = { version = "2.4", features = ["tokio-sync"] } +futures = "0.3.26" + +# Convert values to json for Mongodb +serde = { version = "1.0", features = ["derive"] } + +# Reading env vars from .env +dotenv = "0.15.0" + +# For the meme records +rand = "0.8.5" + +# For the http web frontend +axum = "0.6.4" +tower-http = { version = "0.4.0", features = ["fs"] } +tower-cookies = "0.9.0" +tower = "0.4.13" +bytes = "1.4.0" +serde_json = "1" \ No newline at end of file -- cgit v1.2.3-freya