diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2022-11-06 21:49:49 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2022-11-06 21:49:49 -0800 |
commit | 55cad7251ecdda15989842d3b686e46d0b42df0e (patch) | |
tree | 97ca052a4ef26e96a018fa70fe8eecebf1f5273d /adenosine-pds/src/vendored/iroh_car/reader.rs | |
parent | 6111c481fac3d5c305a379b3be8afb87190db3d5 (diff) | |
download | adenosine-55cad7251ecdda15989842d3b686e46d0b42df0e.tar.gz adenosine-55cad7251ecdda15989842d3b686e46d0b42df0e.zip |
pds: wrangle 'iroh_car' in to PDS code
Diffstat (limited to 'adenosine-pds/src/vendored/iroh_car/reader.rs')
-rw-r--r-- | adenosine-pds/src/vendored/iroh_car/reader.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/adenosine-pds/src/vendored/iroh_car/reader.rs b/adenosine-pds/src/vendored/iroh_car/reader.rs index c0209be..916f27e 100644 --- a/adenosine-pds/src/vendored/iroh_car/reader.rs +++ b/adenosine-pds/src/vendored/iroh_car/reader.rs @@ -1,8 +1,8 @@ -use cid::Cid; use futures::Stream; +use libipld::Cid; use tokio::io::AsyncRead; -use crate::{ +use super::{ error::Error, header::CarHeader, util::{ld_read, read_node}, @@ -61,12 +61,12 @@ where mod tests { use std::io::Cursor; - use cid::Cid; use futures::TryStreamExt; - use ipld_cbor::DagCborCodec; + use libipld::cbor::DagCborCodec; + use libipld::Cid; use multihash::MultihashDigest; - use crate::{header::CarHeaderV1, writer::CarWriter}; + use super::super::{header::CarHeaderV1, writer::CarWriter}; use super::*; |