~matthiasbeyer/imag

Remove main() in doctest

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Remove unnecessary clone() call

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Merge branch 'replace-map-dbg-err' into master

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Remove DebugResult and DebugOption helpers

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Replace map_dbg() and map_dbg_str() with context() and inspect() calls

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Replace map_dbg_err() calls with context() calls

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Merge branch 'cargo-deny' into master

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Merge branch 'report-ids-ignore-broken-pipe' into master

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
travis: Add license check using cargo-deny

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Add configuration for cargo-deny

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Add missing license key

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Remove error conversion which is not necessary anymore.

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Fix: Ignore broken pipe when reporting ids

This fixes a bug where a broken pipe in Runtime::report_touched()
resulted in an Err(_) raised up to main() which then reported this.

But as report_touched() should ignore a broken pipe (because the program
will exit anyways shortly after the call), we can safely ignore this
error.

This also results in `ExitCode` removed from the function signature,
which pushes us forward to the removal of custom error-handling
implementations!

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Merge branch 'imag-bookmark/open' into master

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Merge branch 'imag-wiki/noexit' into master

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Add open command for imag-bookmark

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Rewrite imag-wiki to propagate errors instead of calling exit()

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Remove unused imports

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Fix: Use unwrap_or_else(panic!(...)) as recommended by clippy

instead of expect()ing errors, clippy suggests to use
unwrap_or_else(|| panic!(...)) - use that instead

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Call clone() as late as possible

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Next