Commit graph

22 commits

Author SHA1 Message Date
Malte Tammena 9d8bdd9f71 chore: Rewrite flake.nix 2023-04-15 00:39:46 +02:00
Malte Tammena 36c8d6adc8 Update lockfile to appease the security gods 2022-06-26 16:08:54 +02:00
Malte Tammena 754d2a531c Update deps, fix build issues on Nix 2022-03-29 17:43:01 +02:00
Malte Tammena 100c9eabe8 Bump version, update deps, use devshell 2021-10-27 13:21:53 +02:00
Malte Tammena 6960ae6ba9 Fix race between tests, add DummyCache
Reworked DummyCache indexing, removed broken top-level tests.
Added a simple test deserializing a canteen.
Added DummyCache for tests.
See #11.
2021-10-27 08:25:27 +02:00
Malte Tammena 321037a8a8 Abstract over Cache
Add `Cache` trait and implement it for the `Cacache` and `DummyCache`.
Fix tests to use the DummyCache, dropping old dependencies.
See #11.
2021-10-25 22:20:45 +02:00
Malte Tammena b21f921b03 Add Api trait
This should abstract away from the actual implementation and allow
for reproducible, local tests with a DummyApi.
Tests have been rewritten to use the DummyApi.
Prep for #11.
2021-10-25 09:15:07 +02:00
Malte Tammena 8e819d242e Bump version, update dependencies 2021-10-24 17:06:17 +02:00
Malte Tammena 0fe0494e94 Bump version, update deps 2021-10-22 16:51:16 +02:00
Malte Tammena d1b0dc36fe Cleanup, add command tests 2021-10-22 14:10:17 +02:00
Malte Tammena 8ab197b41c Make colorization smarter
Works towards #2.
Also remove termion, working towards #1.
2021-10-18 17:45:41 +02:00
Malte Tammena 38296d8419 Simplify caching, add tests 2021-10-16 18:54:57 +02:00
Malte Tammena 78f7501067 Update dependencies 2021-10-14 16:17:54 +02:00
Malte Tammena fcfba27d56 Remove unused dependency 2021-10-14 13:55:07 +02:00
Malte Tammena 53faae06d7 Unify concepts places/mensa -> canteen 2021-10-14 12:23:52 +02:00
Malte Tammena 34fa98188f Add cacache-based request caching 2021-10-13 22:49:06 +02:00
Malte Tammena 015be82cbc Add commands and pizzazz 2021-10-13 16:15:11 +02:00
Malte Tammena 491f104b1c Continue groundwork 2021-10-12 21:21:01 +02:00
Malte Tammena ca128a5faa Improve text wrapping 2021-10-12 14:51:49 +02:00
Malte Tammena 67f197d333 Continue base work 2021-10-12 11:47:00 +02:00
Malte Tammena 2e351df60f Set up for 'new' project 2021-10-11 12:22:08 +02:00
Malte Tammena eaeaa13db1 Add Cargo.lock 2019-04-11 17:31:19 +02:00