-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
editoast: isolate search engine in a dedicated crate
- Moves everything in `editoast_search` expect the endpoint. - Adapt paths generated by the `Search` derive macro. - Changes functions returning an editoast custom `Result` to return a standard one instead. - Forwards search engine errors up to the API level, with updated i18n keys. - Merges `views/search/mod.rs` and `views/search/objects.rs` into `views/search.rs`.
- Loading branch information
Showing
20 changed files
with
597 additions
and
920 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
[package] | ||
name = "editoast_search" | ||
version = "0.1.0" | ||
edition = "2021" | ||
license = "LGPL-3.0" | ||
|
||
[dependencies] | ||
itertools.workspace = true | ||
serde.workspace = true | ||
serde_json.workspace = true | ||
strum.workspace = true | ||
thiserror.workspace = true | ||
utoipa.workspace = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.