Deploying to gh-pages from @ b3eda16f2c3be3a5d0c44cb6375f864e7d1a8a41 🚀

This commit is contained in:
realaravinth
2023-10-18 08:13:41 +00:00
parent 64d63eec3c
commit bcfceeec96
11 changed files with 37 additions and 31 deletions

View File

@@ -181,6 +181,8 @@
<a href="#181" id="181">181</a>
<a href="#182" id="182">182</a>
<a href="#183" id="183">183</a>
<a href="#184" id="184">184</a>
<a href="#185" id="185">185</a>
</pre></div><pre class="rust"><code><span class="attr">#![allow(warnings)]
</span><span class="comment">// Copyright (C) 2022 Aravinth Manivannan &lt;realaravinth@batsense.net&gt;
// SPDX-FileCopyrightText: 2023 Aravinth Manivannan &lt;realaravinth@batsense.net&gt;
@@ -276,7 +278,9 @@
</span><span class="kw">async fn </span>main() -&gt; std::io::Result&lt;()&gt; {
<span class="kw">use </span>std::time::Duration;
env::set_var(<span class="string">&quot;RUST_LOG&quot;</span>, <span class="string">&quot;info&quot;</span>);
<span class="kw">if </span>env::var(<span class="string">&quot;RUST_LOG&quot;</span>).is_err() {
env::set_var(<span class="string">&quot;RUST_LOG&quot;</span>, <span class="string">&quot;info&quot;</span>);
}
pretty_env_logger::init();
<span class="macro">info!</span>(