libp2p-bitswap 0.25.1

Implementation of the ipfs bitswap protocol.
Documentation
1
2
3
4
5
6
7
8
9
10
mod message;
mod prefix;
mod protocol;

pub use message::CompatMessage;
pub use protocol::{CompatProtocol, InboundMessage};

fn other<E: std::error::Error + Send + Sync + 'static>(e: E) -> std::io::Error {
    std::io::Error::new(std::io::ErrorKind::Other, e)
}