💾 Archived View for lists.flounder.online › patches › threads › 20210315175744.6493-5-johann@qwertqw… captured on 2022-07-16 at 16:25:46. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-04-28)
-=-=-=-=-=-=-
From: johann@qwertqwefsday.eu
Date: Mon, 15 Mar 2021 18:57:44 +0100
Message-Id: 20210315175744.6493-5-johann@qwertqwefsday.eu
To: <~aw/patches@lists.sr.ht>
In-Reply-To: 20210315175744.6493-1-johann@qwertqwefsday.eu
Cc: "Johann150" <johann@qwertqwefsday.eu>
--------------------------------------
From: Johann150 <johann@qwertqwefsday.eu>
---
Cargo.lock | 40 +++++++++++++++++++-------------------
mygit.toml => grifter.toml | 0
src/main.rs | 4 ++--
templates/base.html | 4 ++--
4 files changed, 24 insertions(+), 24 deletions(-)
rename mygit.toml => grifter.toml (100%)
diff --git a/Cargo.lock b/Cargo.lock
index 6da49e6..1decbdc 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -863,6 +863,26 @@ dependencies = [
"web-sys",
]
+[[package]]
+name = "grifter"
+version = "0.1.0"
+dependencies = [
+ "anyhow",
+ "askama",
+ "askama_tide",
+ "async-std",
+ "chrono",
+ "git2",
+ "once_cell",
+ "percent-encoding",
+ "pico-args",
+ "pulldown-cmark",
+ "serde",
+ "syntect",
+ "tide",
+ "toml",
+]
+
[[package]]
name = "hashbrown"
version = "0.9.1"
@@ -1116,26 +1136,6 @@ version = "2.3.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0ee1c47aaa256ecabcaea351eae4a9b01ef39ed810004e298d2511ed284b1525"
-[[package]]
-name = "mygit"
-version = "0.1.0"
-dependencies = [
- "anyhow",
- "askama",
- "askama_tide",
- "async-std",
- "chrono",
- "git2",
- "once_cell",
- "percent-encoding",
- "pico-args",
- "pulldown-cmark",
- "serde",
- "syntect",
- "tide",
- "toml",
-]
-
[[package]]
name = "nb-connect"
version = "1.0.3"
diff --git a/mygit.toml b/grifter.toml
similarity index 100%
rename from mygit.toml
rename to grifter.toml
diff --git a/src/main.rs b/src/main.rs
index 342248f..bd1242d 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -18,7 +18,7 @@ pub struct Config {
}
const HELP: &str = "\
-mygit
+grifter
FLAGS:
-h, --help Prints help information
@@ -39,7 +39,7 @@ fn args() -> Config {
}
let toml_text =
- fs::read_to_string("mygit.toml").expect("expected configuration file mygit.toml");
+ fs::read_to_string("grifter.toml").expect("expected configuration file grifter.toml");
match toml::from_str(&toml_text) {
Ok(config) => config,
Err(e) => {
diff --git a/templates/base.html b/templates/base.html
index e47495c..10db5d2 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -13,9 +13,9 @@
<div id="content">
{% block content %}{% endblock %}
</div>
- <hr class = "thin">
+ <hr class="thin">
<div class="footer">
- Server running <a href="git.alexwennerberg.com/mygit">mygit</a>
+ Server running <a href="git.alexwennerberg.com/grifter">grifter</a>
</div>
</body>
</html>
--
2.20.1