fix: examples and unused"
This commit is contained in:
parent
bf7b0535ae
commit
d3912d511b
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -1362,7 +1362,7 @@ dependencies = [
|
||||
"env_logger",
|
||||
"futures 0.3.4",
|
||||
"ipfs",
|
||||
"libipld 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"libipld 0.1.0 (git+https://github.com/ipfs-rust/rust-ipld)",
|
||||
"multihash",
|
||||
]
|
||||
|
||||
|
@ -10,5 +10,5 @@ async-std = "1.5.0"
|
||||
env_logger = "0.7.1"
|
||||
futures = "0.3.4"
|
||||
ipfs = { path = ".." }
|
||||
libipld = "0.1.0"
|
||||
libipld = { git = "https://github.com/ipfs-rust/rust-ipld", features = ["dag-pb"] }
|
||||
multihash = "0.10.1"
|
||||
|
@ -1,10 +1,7 @@
|
||||
use crate::v0::support::{with_ipfs, InvalidMultipartFormData, StringError};
|
||||
use futures::stream::StreamExt;
|
||||
use ipfs::{Ipfs, IpfsTypes};
|
||||
use libipld::block::encode_ipld;
|
||||
use libipld::cid::{Cid, Codec};
|
||||
use libipld::codec::Codec as _;
|
||||
use libipld::json::DagJsonCodec;
|
||||
use serde::Deserialize;
|
||||
use serde_json::json;
|
||||
use warp::{multipart, path, query, reply, Buf, Filter, Rejection, Reply};
|
||||
|
Loading…
x
Reference in New Issue
Block a user