From 31d427f7342a58308501ba7e1f74751393299cf1 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Sun, 6 Nov 2022 23:08:14 -0800 Subject: pds: squashed unused warnings from vendored code --- adenosine-pds/src/vendored/iroh_car/header.rs | 2 ++ adenosine-pds/src/vendored/iroh_car/reader.rs | 2 ++ adenosine-pds/src/vendored/iroh_car/writer.rs | 2 ++ 3 files changed, 6 insertions(+) diff --git a/adenosine-pds/src/vendored/iroh_car/header.rs b/adenosine-pds/src/vendored/iroh_car/header.rs index 051d2cc..cd0feb7 100644 --- a/adenosine-pds/src/vendored/iroh_car/header.rs +++ b/adenosine-pds/src/vendored/iroh_car/header.rs @@ -1,3 +1,5 @@ +#![allow(unused)] + use libipld::cbor::DagCborCodec; use libipld::codec::Codec; use libipld::ipld; diff --git a/adenosine-pds/src/vendored/iroh_car/reader.rs b/adenosine-pds/src/vendored/iroh_car/reader.rs index 916f27e..90313f5 100644 --- a/adenosine-pds/src/vendored/iroh_car/reader.rs +++ b/adenosine-pds/src/vendored/iroh_car/reader.rs @@ -1,3 +1,5 @@ +#![allow(unused)] + use futures::Stream; use libipld::Cid; use tokio::io::AsyncRead; diff --git a/adenosine-pds/src/vendored/iroh_car/writer.rs b/adenosine-pds/src/vendored/iroh_car/writer.rs index 4299b5d..b7e25d3 100644 --- a/adenosine-pds/src/vendored/iroh_car/writer.rs +++ b/adenosine-pds/src/vendored/iroh_car/writer.rs @@ -1,3 +1,5 @@ +#![allow(unused)] + use integer_encoding::VarIntAsyncWriter; use libipld::Cid; use tokio::io::{AsyncWrite, AsyncWriteExt}; -- cgit v1.2.3