]> git.proxmox.com Git - pxar.git/blobdiff - tests/simple/fs.rs
ditch anyhow crate in examples/tests
[pxar.git] / tests / simple / fs.rs
index 7b1f5956264cca92662cb90debe7aae893467d24..9a89c4de254d55e8c828c1b7cdd299d130661073 100644 (file)
@@ -2,8 +2,6 @@ use std::collections::HashMap;
 use std::io::Read;
 use std::path::{Path, PathBuf};
 
-use anyhow::{bail, format_err, Error};
-
 use pxar::decoder::sync as decoder;
 use pxar::decoder::SeqRead;
 use pxar::encoder::sync as encoder;
@@ -13,6 +11,8 @@ use pxar::format::{mode, Device};
 use pxar::EntryKind as PxarEntryKind;
 use pxar::Metadata;
 
+use crate::Error;
+
 /// Hardlink information we use while encoding pxar archives.
 pub struct HardlinkInfo {
     link: LinkOffset,