File tree Expand file tree Collapse file tree 1 file changed +26
-1
lines changed Expand file tree Collapse file tree 1 file changed +26
-1
lines changed Original file line number Diff line number Diff line change 1+ //! Blobs layer for iroh.
2+ //!
3+ //! The crate is designed to be used from the [iroh] crate.
4+ //!
5+ //! It implements a [protocol] for streaming content-addressed data transfer using
6+ //! [BLAKE3] verified streaming.
7+ //!
8+ //! It also provides a [store] module for storage of blobs and outboards,
9+ //! as well as a [persistent](crate::store::fs) and a [memory](crate::store::mem)
10+ //! store implementation.
11+ //!
12+ //! To implement a server, the [provider] module provides helpers for handling
13+ //! connections and individual requests given a store.
14+ //!
15+ //! To perform get requests, the [get] module provides utilities to perform
16+ //! requests and store the result in a store, as well as a low level state
17+ //! machine for executing requests.
18+ //!
19+ //! The [api::downloader] module provides a component to download blobs from
20+ //! multiple sources and store them in a store.
21+ //!
22+ //! [BLAKE3]: https://github.com/BLAKE3-team/BLAKE3-specs/blob/master/blake3.pdf
23+ //! [iroh]: https://docs.rs/iroh
124mod hash;
225pub mod store;
326pub use hash:: { BlobFormat , Hash , HashAndFormat } ;
@@ -11,11 +34,13 @@ mod net_protocol;
1134pub use net_protocol:: BlobsProtocol ;
1235pub mod protocol;
1336pub mod provider;
14- pub mod test;
1537pub mod ticket;
1638pub ( crate ) mod util;
1739
1840#[ cfg( test) ]
1941mod tests;
2042
43+ #[ doc( hidden) ]
44+ pub mod test;
45+
2146pub use protocol:: ALPN ;
You can’t perform that action at this time.
0 commit comments