common/
lib.rs

1pub mod bucket_log;
2/**
3 * Cryptographic types and operations.
4 *  - Public and Private key implementations
5 *  - Key-to-key key sharing
6 */
7pub mod crypto;
8/**
9 * Internal wrapper around IPLD, renamed to
10 *  something a little more down-to-earth.
11 * Handles translation to/from IPLD and IrohBlobs
12 *  for linked data.
13 */
14pub mod linked_data;
15/**
16 * Common types that describe how to mount
17 *  and operate on our internal representation
18 *  of a 'bucket'.
19 * Represents the contents of a bucket at a given
20 *  version
21 */
22pub mod mount;
23/**
24 * Storage layer implementation.
25 *  Just a light wrapper around the Iroh-Blobs
26 *  protocol and ALPN handler
27 */
28pub mod peer;
29/**
30 * Helper for setting build version information
31 *  at compile time.
32 */
33pub mod version;
34
35pub mod prelude {
36    pub use crate::crypto::{PublicKey, SecretKey};
37    pub use crate::linked_data::{multibase, Cid, CidError, Link};
38    pub use crate::mount::{Manifest, Mount, MountError};
39    pub use crate::peer::Peer;
40    pub use crate::version::build_info;
41}