iroh-bytes 0.15.0

blob and collection transfer support for iroh
Documentation
//! Send data over the internet.

#![deny(missing_docs, rustdoc::broken_intra_doc_links)]
#![recursion_limit = "256"]

#[cfg(feature = "downloader")]
pub mod downloader;
pub mod export;
pub mod format;
pub mod get;
pub mod hashseq;
#[cfg(feature = "metrics")]
pub mod metrics;
pub mod protocol;
pub mod provider;
pub mod store;
pub mod util;

pub use crate::util::{Tag, TempTag};
pub use iroh_base::hash::{BlobFormat, Hash, HashAndFormat};

use bao_tree::BlockSize;

/// Block size used by iroh, 2^4*1024 = 16KiB
pub const IROH_BLOCK_SIZE: BlockSize = BlockSize::from_chunk_log(4);