common/
lib.rs

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