Merge branch 'update-deps' into master Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
handlebars: 2 -> 3 Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
semver: 0.9.0 -> 0.10.0 Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
itertools: 0.8.0 -> 0.9.0 Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Replace repository with new sourcehut repo Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Clippy Fix: let_underscore_lock Use _variable instead of _ as a variable name for lock. Expl.: https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_lock Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Merge branch 'update-toml-query' into master Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Merge branch 'blackhole-stdout-when-piping' into master Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Fix: Return actual length of buffer The function has to return the number of bytes in the buffer, so return the length of the buffer here. Still, the contents are ignored and not written to any destination. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Add blackhole as default cli option Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Update toml-query: 0.9.2 -> 0.10.0 Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Revert "Move to toml-query from master branch" This reverts commit f7fadc118f2de7e84cef8c6d4103296289564f74. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Fix clippy warning: next() instead of nth(0) Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Merge branch 'replace-failure-with-anyhow' Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Move to toml-query from master branch Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Move libimagerror to thiserror In this patch, the error output (tracing) algorithm was changed, but should essentially print the same information. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Replace failure with anyhow in complete codebase This patch was scripted with sed -i 's/use failure::Error/use anyhow::Error/' $(rg "use failure::Error" -l) sed -i 's/use failure::Fallible as /use anyhow::/' $(rg "use failure::Fallible" -l) sed -i 's/failure/anyhow/' $(rg "failure *=" -l) sed -i 's/format_err!/anyhow!/' $(rg "format_err!" -l) sed -i 's/use failure::ResultExt/use anyhow::Context/' $(rg "use failure::ResultExt" -l) sed -i 's/err_msg/anyhow!/' $(rg "use failure::err_msg" -l) sed -i 's/^anyhow\ *=.*$/anyhow = "1"/' $(rg "anyhow * =" -l) sed -i 's/^anyhow_derive.*//' $(rg "anyhow_derive" -l) sed -i 's/extern crate failure/extern crate anyhow/' $(rg "extern crate failure" -l) sed -i 's/.*extern crate anyhow_derive.*//' $(rg "anyhow_derive" -l) Some manual changes were added as well, so this patch was not completely scripted, but mostly. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Merge branch 'cleanup-libimagerror' Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Remove unused str error handling module Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Remove unused io error handling code Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Remove unused ExitUnwrap trait Signed-off-by: Matthias Beyer <mail@beyermatthias.de>