From b4fb412218e733eedcf2a8f12af624e929fdf0b6 Mon Sep 17 00:00:00 2001 From: realaravinth Date: Tue, 29 Mar 2022 13:58:52 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20=20@=2055b7b?= =?UTF-8?q?f92bb32296303073770b33e7fec519e23e3=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/constant.GIT_COMMIT_HASH.html | 2 +- pages/fn.get_json_err.html | 2 +- pages/fn.services.html | 2 +- pages/index.html | 2 +- src/pages/main.rs.html | 12 +++++++++++- 5 files changed, 15 insertions(+), 5 deletions(-) diff --git a/pages/constant.GIT_COMMIT_HASH.html b/pages/constant.GIT_COMMIT_HASH.html index c526aa6..8206aa4 100644 --- a/pages/constant.GIT_COMMIT_HASH.html +++ b/pages/constant.GIT_COMMIT_HASH.html @@ -1,4 +1,4 @@ GIT_COMMIT_HASH in pages - Rust

Constant pages::GIT_COMMIT_HASH[][src]

pub const GIT_COMMIT_HASH: &str = "fc8f86a2af00e3bb6d060b01cd9948e0ee88f157";
+

Constant pages::GIT_COMMIT_HASH[][src]

pub const GIT_COMMIT_HASH: &str = "55b7bf92bb32296303073770b33e7fec519e23e3";
\ No newline at end of file diff --git a/pages/fn.get_json_err.html b/pages/fn.get_json_err.html index 59eaddd..1c402d6 100644 --- a/pages/fn.get_json_err.html +++ b/pages/fn.get_json_err.html @@ -1,4 +1,4 @@ get_json_err in pages - Rust

Function pages::get_json_err[][src]

pub fn get_json_err() -> JsonConfig
+

Function pages::get_json_err[][src]

pub fn get_json_err() -> JsonConfig
\ No newline at end of file diff --git a/pages/fn.services.html b/pages/fn.services.html index f3e8ff8..b66b9b1 100644 --- a/pages/fn.services.html +++ b/pages/fn.services.html @@ -1,4 +1,4 @@ services in pages - Rust

Function pages::services[][src]

pub fn services(cfg: &mut ServiceConfig)
+

Function pages::services[][src]

pub fn services(cfg: &mut ServiceConfig)
\ No newline at end of file diff --git a/pages/index.html b/pages/index.html index 3b7a856..2c2a48a 100644 --- a/pages/index.html +++ b/pages/index.html @@ -1,6 +1,6 @@ pages - Rust

Crate pages[][src]

Modules

+

Crate pages

Version 0.1.0

Crate pages[][src]

Modules

Structs

Constants

Functions

diff --git a/src/pages/main.rs.html b/src/pages/main.rs.html index 1f6c2b3..9430af8 100644 --- a/src/pages/main.rs.html +++ b/src/pages/main.rs.html @@ -92,6 +92,11 @@ 90 91 92 +93 +94 +95 +96 +97
/*
  * Copyright (C) 2022  Aravinth Manivannan <realaravinth@batsense.net>
  *
@@ -141,7 +146,12 @@
 #[cfg(not(tarpaulin_include))]
 #[actix_web::main]
 async fn main() -> std::io::Result<()> {
-    env::set_var("RUST_LOG", "info");
+    {
+        const LOG_VAR: &str = "RUST_LOG";
+        if env::var(LOG_VAR).is_err() {
+            env::set_var("RUST_LOG", "info");
+        }
+    }
 
     pretty_env_logger::init();