Skip to main content

Crate syncweb_core

Crate syncweb_core 

Source
Expand description

§syncweb-core

Core library for syncweb, enabling delay-tolerant web surfing and decentralized synchronization.

This crate provides the foundational building blocks for the syncweb application, including:

  • Decentralized folder synchronization and package management.
  • Network and node management using the Iroh stack.
  • File system scanning, filtering, and statistical analysis.
  • Delay-tolerant networking capabilities.

§Modules

  • allocation: Deterministic, capacity-aware storage allocation.
  • error: Common error types and Result aliases.
  • filter: Tools for filtering files during synchronization and scanning.
  • folder: Management of synchronized folders, collections, and packages.
  • fs: File system utilities, including parallel scanning.
  • indexing: Opt-in SQLite/FTS5 indexing for synchronized folders.
  • net: Network management and routing configurations.
  • node: Iroh node integration and identity management.
  • search: Find engine for querying synchronized assets.
  • sync: The core synchronization engine and session management.

Re-exports§

pub use error::Result;
pub use error::SyncwebError;
pub use folder::archive_export::DropExportOptions;
pub use folder::archive_export::DropExportResult;
pub use folder::archive_export::DropExporter;
pub use folder::archive_export::export_archive;
pub use folder::archive_import;
pub use folder::archive_import::DropImportOptions;
pub use folder::archive_import::DropImportResult;
pub use folder::archive_import::DropImporter;
pub use folder::archive_import::import_archive;
pub use folder::archive_verify::DropVerificationResult;
pub use folder::archive_verify::DropVerifier;
pub use folder::archive_verify::DropVerifyResult;
pub use folder::archive_verify::verify_archive;
pub use folder::archive_verify::verify_drop_reader;
pub use sync::ActiveSession;
pub use sync::cancel_session;
pub use sync::is_active;

Modules§

allocation
bandwidth_stats
constants
Centralized protocol-level string constants for the syncweb wire format.
daemon
Daemon lifecycle, locking, and local IPC support.
error
filter
folder
fs
Local filesystem operations used by syncweb.
indexing
Opt-in local indexing for synchronized folders.
init
media
net
node
parsing
pins
Centralized blob pin-name formatting.
schedule
search
Search and ranking APIs for local and synchronized entries.
signature
Shared Ed25519 signing helpers used by signed protocol payloads.
snapshot
sort
stat
storage
sync
Synchronization primitives shared by the CLI and higher-level engines.
uri
The syncweb:// URI and ticket codec.
verify