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

  • 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§

bandwidth_stats
daemon
Daemon lifecycle, locking, and local IPC support.
editorial
Opt-in editorial workflow primitives for collections.
error
filter
folder
fs
Local filesystem operations used by syncweb.
gossip
indexing
Opt-in local indexing for synchronized folders.
init
media
mirror
net
node
parsing
schedule
search
Search and ranking APIs for local and synchronized entries.
snapshot
sort
stat
storage
sync
Synchronization primitives shared by the CLI and higher-level engines.
verify