✨ feat(engine): mojeek
for the search engine (#464)
* 🧑💻 fix: add closing curly brace in the nix build step * ✨ feat: add code to provide search results from `mojeek` engine --------- Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
This commit is contained in:
parent
9f5213cf42
commit
9f23a1c70b
5 changed files with 158 additions and 1 deletions
|
@ -162,6 +162,10 @@ impl EngineHandler {
|
|||
let engine = crate::engines::librex::LibreX::new()?;
|
||||
("librex", Box::new(engine))
|
||||
}
|
||||
"mojeek" => {
|
||||
let engine = crate::engines::mojeek::Mojeek::new()?;
|
||||
("mojeek", Box::new(engine))
|
||||
}
|
||||
_ => {
|
||||
return Err(Report::from(EngineError::NoSuchEngineFound(
|
||||
engine_name.to_string(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue