jax-common 0.1.11

Core data structures and cryptography for JaxBucket - end-to-end encrypted P2P storage
Documentation
pub mod bucket_log;
/**
 * Cryptographic types and operations.
 *  - Public and Private key implementations
 *  - Key-to-key key sharing
 */
pub mod crypto;
/**
 * Internal wrapper around IPLD, renamed to
 *  something a little more down-to-earth.
 * Handles translation to/from IPLD and IrohBlobs
 *  for linked data.
 */
pub mod linked_data;
/**
 * Common types that describe how to mount
 *  and operate on our internal representation
 *  of a 'bucket'.
 * Represents the contents of a bucket at a given
 *  version
 */
pub mod mount;
/**
 * Storage layer implementation.
 *  Just a light wrapper around the Iroh-Blobs
 *  protocol and ALPN handler
 */
pub mod peer;
/**
 * Helper for setting build version information
 *  at compile time.
 */
pub mod version;

pub mod prelude {
    pub use crate::crypto::{PublicKey, SecretKey};
    pub use crate::linked_data::{multibase, Cid, CidError, Link};
    pub use crate::mount::{Manifest, Mount, MountError};
    pub use crate::peer::Peer;
    pub use crate::version::build_info;
    pub use mime::Mime;
}