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
1
24
mod hash;
2
25
pub mod store;
3
26
pub use hash:: { BlobFormat , Hash , HashAndFormat } ;
@@ -11,11 +34,13 @@ mod net_protocol;
11
34
pub use net_protocol:: BlobsProtocol ;
12
35
pub mod protocol;
13
36
pub mod provider;
14
- pub mod test;
15
37
pub mod ticket;
16
38
pub ( crate ) mod util;
17
39
18
40
#[ cfg( test) ]
19
41
mod tests;
20
42
43
+ #[ doc( hidden) ]
44
+ pub mod test;
45
+
21
46
pub use protocol:: ALPN ;
You can’t perform that action at this time.
0 commit comments