55use std:: { convert:: Infallible , str:: FromStr } ;
66
77use derive_more:: { Display , From , Into } ;
8- use futures:: { pin_mut, stream:: BoxStream , StreamExt } ;
8+ use futures:: { StreamExt , pin_mut, stream:: BoxStream } ;
99/// IPFS Content Identifier.
1010pub use ipld_core:: cid:: Cid ;
1111/// IPLD
1212pub use ipld_core:: ipld:: Ipld ;
1313use libp2p:: gossipsub:: MessageId as PubsubMessageId ;
1414/// `rust_ipfs` re-export.
1515pub use rust_ipfs;
16- /// Peer Info type.
17- pub use rust_ipfs:: p2p:: PeerInfo ;
18- /// Enum for specifying paths in IPFS.
19- pub use rust_ipfs:: path:: IpfsPath ;
20- /// Storage type for IPFS node.
21- pub use rust_ipfs:: repo:: StorageTypes ;
2216/// Server, Client, or Auto mode
2317pub use rust_ipfs:: DhtMode ;
2418/// Server, Client, or Auto mode
@@ -27,9 +21,15 @@ pub use rust_ipfs::Ipfs;
2721pub use rust_ipfs:: Multiaddr ;
2822/// Peer ID type.
2923pub use rust_ipfs:: PeerId ;
24+ /// Peer Info type.
25+ pub use rust_ipfs:: p2p:: PeerInfo ;
26+ /// Enum for specifying paths in IPFS.
27+ pub use rust_ipfs:: path:: IpfsPath ;
28+ /// Storage type for IPFS node.
29+ pub use rust_ipfs:: repo:: StorageTypes ;
3030use rust_ipfs:: {
31- builder :: IpfsBuilder , dag :: ResolveError , dummy , gossipsub :: IntoGossipsubTopic , unixfs :: AddOpt ,
32- GossipsubMessage , NetworkBehaviour , Quorum , ToRecordKey ,
31+ GossipsubMessage , NetworkBehaviour , Quorum , ToRecordKey , builder :: IpfsBuilder ,
32+ dag :: ResolveError , dummy , gossipsub :: IntoGossipsubTopic , unixfs :: AddOpt ,
3333} ;
3434
3535#[ derive( Debug , Display , From , Into ) ]
0 commit comments