aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLorenz Leitner <lrnz.ltnr@gmail.com>2021-10-11 18:25:43 +0200
committerLorenz Leitner <lrnz.ltnr@gmail.com>2021-10-12 12:06:57 +0200
commitc08f0edcb8da6a78a8e9edcf3eaa14e633bf0e91 (patch)
tree6f066189130baf04b67dd28124258d9a90b79ef5 /src
parentRemove passthrough method (diff)
Rename wa, change anyhow version, make reqwest dependency more specific
Due to MR comments Are you happy now audron?
Diffstat (limited to 'src')
-rw-r--r--src/hooks/mod.rs2
-rw-r--r--src/hooks/wolfram_alpha.rs (renamed from src/hooks/wa.rs)0
-rw-r--r--src/main.rs2
3 files changed, 2 insertions, 2 deletions
diff --git a/src/hooks/mod.rs b/src/hooks/mod.rs
index 7f7a29c..cdf3787 100644
--- a/src/hooks/mod.rs
+++ b/src/hooks/mod.rs
@@ -7,7 +7,7 @@ pub mod intensify;
pub mod pet;
pub mod sed;
pub mod shifty_eyes;
-pub mod wa;
+pub mod wolfram_alpha;
pub use intensify::intensify;
pub use shifty_eyes::shifty_eyes;
diff --git a/src/hooks/wa.rs b/src/hooks/wolfram_alpha.rs
index cb4bc4c..cb4bc4c 100644
--- a/src/hooks/wa.rs
+++ b/src/hooks/wolfram_alpha.rs
diff --git a/src/main.rs b/src/main.rs
index f337613..fd2d3b2 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -55,7 +55,7 @@ async fn main() {
async command(
"wa",
"Returns Wolfram Alpha results for a query",
- catinator::hooks::wa::wa
+ catinator::hooks::wolfram_alpha::wa
),
];
}
=1'>write tons of documentation and reorganize some modulesMax Audron-65/+300 2021-10-22remove wolfram alpha url shorteningMax Audron-1/+2 2021-10-20remove failing wolfram alpha test casesMax Audron-105/+55 this is due to the url shorterner dying randomly and also just generally bad idea to call external services during unit tests. 2021-10-20bump version to 1.6.2Max Audron-3/+2 2021-10-20prepare for release on crates.ioMax Audron-39/+65 2021-10-20add async docs to macro crate and bump versionMax Audron-9/+10 2021-10-20change hook errors to be logged as warningsMax Audron-3/+3 they in nearly all cases aren't critical enough to warrant an actual error messages 2021-10-20fix configuration not loading correctly on release buildsMax Audron-8/+23 2021-10-19replace sedregex crate8-rework-sedMax Audron-20/+358 This replaces the sedregex crate with our own implementation for multiple reasons: 1. We required to access the parsed regex, this required a patch to the sedregex crate which did not get merged due to an inactive dev, blocking us from publishing on crates.Io 2. We wanted to highlight the changes done in bold 3. We want to add execution of multiple chained sed commands in the future which would require more modification 2021-10-19add formatting trait for irc codesMax Audron-0/+129 add an impl off the formatting trait on String to format Strings with the typical irc formatting codes for bold, italic etc 2021-10-17fix links in readmeMax Audron-2/+2