summaryrefslogtreecommitdiffstats
path: root/adenosine-pds/src/vendored/iroh_car/error.rs
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2022-11-06 21:49:49 -0800
committerBryan Newbold <bnewbold@robocracy.org>2022-11-06 21:49:49 -0800
commit55cad7251ecdda15989842d3b686e46d0b42df0e (patch)
tree97ca052a4ef26e96a018fa70fe8eecebf1f5273d /adenosine-pds/src/vendored/iroh_car/error.rs
parent6111c481fac3d5c305a379b3be8afb87190db3d5 (diff)
downloadadenosine-55cad7251ecdda15989842d3b686e46d0b42df0e.tar.gz
adenosine-55cad7251ecdda15989842d3b686e46d0b42df0e.zip
pds: wrangle 'iroh_car' in to PDS code
Diffstat (limited to 'adenosine-pds/src/vendored/iroh_car/error.rs')
-rw-r--r--adenosine-pds/src/vendored/iroh_car/error.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/adenosine-pds/src/vendored/iroh_car/error.rs b/adenosine-pds/src/vendored/iroh_car/error.rs
index 3579413..1edcefe 100644
--- a/adenosine-pds/src/vendored/iroh_car/error.rs
+++ b/adenosine-pds/src/vendored/iroh_car/error.rs
@@ -1,3 +1,4 @@
+use libipld::cid;
use thiserror::Error;
/// Car utility error
@@ -10,7 +11,7 @@ pub enum Error {
#[error("Io error: {0}")]
Io(#[from] std::io::Error),
#[error("Cbor encoding error: {0}")]
- Cbor(#[from] ipld::error::Error),
+ Cbor(#[from] libipld::error::Error),
#[error("ld read too large {0}")]
LdReadTooLarge(usize),
}