From 73ca6b98164c168d01887c316e9a29f749470e82 Mon Sep 17 00:00:00 2001 From: Devesh Rawat Date: Thu, 23 Nov 2023 19:11:26 +0530 Subject: [PATCH] chore: add files names --- scripts/init_db.sh | 1 - src/configuration.rs | 1 + src/routes/health_check.rs | 1 + src/routes/subscriptions.rs | 2 ++ src/startup.rs | 2 ++ 5 files changed, 6 insertions(+), 1 deletion(-) diff --git a/scripts/init_db.sh b/scripts/init_db.sh index 67b1b3a..baffff1 100755 --- a/scripts/init_db.sh +++ b/scripts/init_db.sh @@ -1,5 +1,4 @@ #!/usr/bin/env bash - set -eo pipefail check_command() { diff --git a/src/configuration.rs b/src/configuration.rs index e69de29..4bdd85b 100644 --- a/src/configuration.rs +++ b/src/configuration.rs @@ -0,0 +1 @@ +//! src/configuration.rs diff --git a/src/routes/health_check.rs b/src/routes/health_check.rs index cdf0ae7..3fe91c9 100644 --- a/src/routes/health_check.rs +++ b/src/routes/health_check.rs @@ -1,3 +1,4 @@ +//! src/routes/health_check.rs use actix_web::HttpResponse; pub async fn health_check() -> HttpResponse { HttpResponse::Ok().finish() diff --git a/src/routes/subscriptions.rs b/src/routes/subscriptions.rs index 9650074..1e496d2 100644 --- a/src/routes/subscriptions.rs +++ b/src/routes/subscriptions.rs @@ -1,3 +1,5 @@ +//! src/routes/subscriptions.rs + use actix_web::{web, HttpResponse}; use serde::Deserialize; diff --git a/src/startup.rs b/src/startup.rs index f144201..56fc6f6 100644 --- a/src/startup.rs +++ b/src/startup.rs @@ -1,3 +1,5 @@ +//! src/startup.rs + use actix_web::{dev::Server, web, App, HttpServer}; use std::net::TcpListener;