Releases: epwalsh/rust-cached-path
v0.6.1
v0.6.0
What's new
Changed ⚠️
- Consolidated HTTP error variants into a single variant,
HttpError
, which sources directly from the underlyingreqwest::Error
for better error messages.
Commits
4f7f339 Consolidate HTTP error variants into one (#67)
41275cd Update predicates requirement from 1.0 to 2.1 (#51)
828e6e4 Fix comment (#64)
6a633ff Update zip requirement from 0.5 to 0.6 (#60)
5b82c40 minor CI improvements (#59)
34423c4 fix release notes script
8b229db switch to cargo-rdme (#58)
0839cc5 quick fix
2db0444 Make sure README is kept up-to-date (#57)
v0.5.3
v0.5.2
v0.5.1
v0.5.0
What's new
Changed
- Switched to
color-eyre
for error handling in the CLI. - Improved full download progress bar.
Some(ProgressBar::Full)
is now the default for the library.- Upgraded
reqwest
dependency to0.11
.
Commits
cf0882c Update reqwest requirement from 0.10.0 to 0.11.0 (#41)
176dff1 Update rand requirement from 0.7 to 0.8 (#40)
2faeddb Update httpmock requirement from 0.4 to 0.5 (#36)
e79ee63 Update zip-extensions requirement from 0.5 to 0.6 (#39)
c466579 fix ci
ea0ba5a Update env_logger requirement from 0.7 to 0.8 (#37)
822f839 refactored internal progress bars"
f87cdae improve full progress bar
6826fcb switch to color-eyre
v0.4.5
What's new
Added
- Added a method
CacheBuilder::progress_bar
to set the progress bar type, or to disable the progess bar entirely. The options areProgressBar::Light
andProgressBar::Full
. The default when usingcached-path
as a library isProgressBar::Light
, while the default from the command-line isProgressBar::Full
. You can also disable the progress bar from the command-line by passing the "-q" / "--quietly" flag.
Commits
v0.4.4
What's new
Added
- Added a method
Cache::cached_path_with_options
and a correspondingOptions
struct. - Added ability to automatically extract archives through the
Cache::cached_path_with_options
method. - Added integration tests.
- Added spinner progress bar to downloads.
Changed
Meta
struct is no longer public.Cache::cached_path_in_subdir
is now deprecated.httpmock
updated and tests refactored.
Removed
- Removed the
only_keep_latest
setting for theCache
.
Commits
f438e30 Update httpmock requirement from 0.3 to 0.4 (#30)
825d5e4 add spinner (#33)
c6eebd8 handle archives (#28)
b664939 Create dependabot.yml
0d84b2a fix integration test (#29)
81deeb3 test with actual file
ca2cd8c add integration tests (#27)
bd4d916 fix typo (#26)