Commit graph

53 commits

Author SHA1 Message Date
Joakim Soderlund
f2c09e14a6 Save on RAM by using immutable types 2024-05-29 17:51:09 +02:00
Joakim Soderlund
6901aa3d66 Save on RAM by interning author meta 2024-05-29 17:51:09 +02:00
Joakim Soderlund
314b388c35 Simplify CLI module using dynamic error returns 2024-05-29 17:27:48 +02:00
Joakim Soderlund
5a967c8445 Lock dependency Zip to v0.6.6 2024-05-08 19:38:11 +02:00
Joakim Soderlund
01215c4178 Migrate from Chrono English to Dateparser 2024-03-31 16:02:53 +02:00
Joakim Soderlund
217eb6240f Upgrade dependency Nom to v7 2024-03-27 15:57:27 +01:00
Joakim Soderlund
18ab30684d Upgrade dependency RustyLine to v14 2024-03-20 11:01:38 +01:00
Joakim Soderlund
bcf9dc9e36 Derive deserialization of enum variants for index 2024-03-03 19:04:18 +01:00
Joakim Soderlund
34ad830bda Deny unknown fields when parsing archive index 2024-03-03 18:34:46 +01:00
Joakim Soderlund
266da3357b Replace match single binding with let else 2022-12-20 15:20:34 +01:00
Joakim Soderlund
f99bfaf86a Fix deprecation warning from Chrono 2022-12-20 13:01:00 +01:00
Joakim Soderlund
af165d68a1 Upgrade all creates to Rust 2021 Edition 2022-08-07 20:39:08 +02:00
Joakim Soderlund
b66e76328d Remove debug build optimization settings 2022-08-07 20:38:03 +02:00
Joakim Soderlund
d1482c2330 Make story color values public 2022-08-07 15:33:03 +02:00
Joakim Soderlund
f0c901db82 Pin dependency RustyLine to v9 2022-08-07 15:15:24 +02:00
Joakim Soderlund
e5fa23021f Upgrade to Rust 2021 Edition 2021-12-05 15:03:05 +01:00
Joakim Soderlund
cf9be968be Adjust buffer sizes for ZipArchive 2021-08-29 21:00:46 +02:00
Joakim Soderlund
ac93b0dcfb Pin versions of incompatible dependencies 2021-08-29 19:42:11 +02:00
Joakim Soderlund
1feb234fa2 Intern story tags to save memory 2020-05-23 01:12:29 +02:00
Joakim Soderlund
5f52b590cc Add interner for static reference sharing 2020-05-23 00:25:36 +02:00
Joakim Soderlund
3b1d99e14c Remove query crate from default members 2020-05-22 16:00:05 +02:00
Joakim Soderlund
40696fbe9d Apply cargo formatter to all files 2020-05-21 15:28:02 +02:00
Joakim Soderlund
7d4e4d0ce0 Build development dependencies with optimizations 2020-05-21 15:21:17 +02:00
Joakim Soderlund
d1f46d5d4f Split query module into a separate crate 2020-05-21 14:55:24 +02:00
Joakim Soderlund
96b7773e8f Improve performance of fuzzy queries using regex 2020-03-07 21:04:12 +01:00
Joakim Soderlund
94d8bf9fe2 Rename constructors in archive fetcher 2020-03-07 20:06:54 +01:00
Joakim Soderlund
6b1352a7a8 Use readline for CLI input 2020-02-22 23:07:46 +01:00
Joakim Soderlund
cd578a3bb3 Update external dependencies 2019-09-07 17:57:49 +02:00
Joakim Soderlund
8e59aff73d Use Rayon when parsing index 2019-09-07 17:39:02 +02:00
Joakim Soderlund
a2d140f815 Add prelude to library crate 2019-08-17 13:40:55 +00:00
Joakim Soderlund
0df8b3aded Split crate into a workspace 2019-08-17 13:19:44 +00:00
Joakim Soderlund
67883cc5fb Update external dependencies 2019-08-17 12:21:18 +00:00
Joakim Soderlund
f0d7380fa6 Fix linter warnings from Clippy 2019-08-10 22:33:05 +00:00
Joakim Soderlund
f6f9f815ad Use Rayon for parallel queries 2019-08-10 21:52:44 +00:00
Joakim Soderlund
3d42684b27 Use Chrono English for easy date input 2019-08-10 21:47:12 +00:00
Joakim Soderlund
6f1cd87f89 Add command line interface for testing queries 2019-08-10 21:37:17 +00:00
Joakim Soderlund
36f182620b Add query module for searching 2019-08-10 21:08:14 +00:00
Joakim Soderlund
aa619e862d Add error kind for queries 2019-08-10 21:07:10 +00:00
Joakim Soderlund
2e86fe6c25 Require story reference to read from archive 2019-07-27 20:51:57 +00:00
Joakim Soderlund
1d757327f1 Hide deserialization functions in story module 2019-07-27 20:47:29 +00:00
Joakim Soderlund
dbebf22d42 Use struct for error handling 2019-07-27 20:29:52 +00:00
Joakim Soderlund
b250e8e1cb Create archive module for organization 2019-07-26 20:46:33 +00:00
Joakim Soderlund
97b81eeba7 Set max width to 79 in RustFmt 2019-07-24 14:38:41 +00:00
Joakim Soderlund
1dfbf1ea7f Improve error handling in parser module 2019-07-24 14:25:50 +00:00
Joakim Soderlund
a9b6351737 Use struct instead of map for author avatar 2019-07-23 21:33:03 +00:00
Joakim Soderlund
21088cb539 Fix linter warnings from Clippy 2019-07-23 17:56:05 +00:00
Joakim Soderlund
d1f9f588d5 Add slightly interactive main function 2019-07-21 17:15:16 +00:00
Joakim Soderlund
f50f5bd65c Add fetcher module for archive reading 2019-07-21 17:15:16 +00:00
Joakim Soderlund
ea4b95b0e6 Add parser module for index loading 2019-07-21 17:15:16 +00:00
Joakim Soderlund
6e3218f2e4 Add error module for abstraction 2019-07-21 17:15:07 +00:00