Commit graph

19 commits

Author SHA1 Message Date
equal-l2
ac9db25691 Run rustfmt 2018-10-21 14:49:01 +02:00
Danilo Bargen
96b5a7637f Update dependencies 2018-02-11 01:44:03 +01:00
anderejd
6fdf14df63 Move to Serde and upgrade all dependencies (#35)
- Do cargo upgrade --all
- Resolve build errors by moving from rustc-serialize to serde
2017-12-23 01:59:42 +01:00
Danilo Bargen
9e868cb728 Upgrade curl to 0.3 2016-08-01 12:20:41 +02:00
Severen Redwood
aab4220029 Rename everything named tldr to tealdeer (#30) 2016-04-19 10:15:24 +02:00
Severen Redwood
26b8f519c4 Use rust-xdg for cache creation (#29)
* Add rust-xdg as a dependency
* Use rust-xdg to create the cache directory

Closes #10.
2016-04-18 18:40:28 +02:00
Danilo Bargen
6398f6594f Rename project (#26)
* Change name to "tealdeer"
* Rename repository as well
* Add logo
2016-04-16 10:20:16 +02:00
Danilo Bargen
f68df11b99 Fix creation of cache dir
Resolves #22.
2016-04-04 00:21:49 +02:00
Danilo Bargen
a6b6ce5781 Allow overriding of cache dir
By setting TLDR_RS_CACHE_DIR the cache dir can be overridden. This is
very useful for example during testing.
2016-04-03 01:36:39 +02:00
Danilo Bargen
ccaf9c9f27 Fix cache updating
For some reason, the cache was not actually being updated because the
`Archive.unpack()` method doesn't overwrite any files.

So now we clear the cache directory before unpacking the archive.

Fixes #18.
2016-04-03 00:06:36 +02:00
Danilo Bargen
fb62eaaaad Fix detection of outdated cache 2016-02-07 23:10:28 +01:00
Danilo Bargen
6e4fc487a9 Implement --list flag 2016-01-27 17:39:17 +01:00
Danilo Bargen
4c5666884b Simplify logic in Cache::find_page 2016-01-27 13:55:52 +01:00
Danilo Bargen
0d871091d3 Create Cache::get_platform_dir 2016-01-27 13:55:17 +01:00
Danilo Bargen
a07f7e00dc Implement Decodable for OsType 2016-01-22 08:29:10 +01:00
Danilo Bargen
34fa7d94b4 Create OsType enum 2016-01-19 18:49:16 +01:00
Danilo Bargen
55bbd78360 Implement --clear-cache flag 2016-01-10 22:39:11 +01:00
Danilo Bargen
4a59dc6798 Render pages from cache 2016-01-10 00:33:51 +01:00
Danilo Bargen
4e951a0247 Rename Updater to Cache 2016-01-08 19:19:03 +01:00
Renamed from src/updater.rs (Browse further)