Cargo Features

sos-protocol has no features set by default.

[dependencies]
sos-protocol = { version = "0.16.3", features = ["listen", "hashcheck", "network-client", "pairing", "account", "archive", "contacts", "files", "migrate", "search"] }
listen = tokio-tungstenite

Affects sos-protocol::transfer

hashcheck = reqwest

Affects sos-protocol::hashcheck

network-client = async-stream, bs58, reqwest, tokio-util

Affects sos-protocol::network_client, sos-protocol::transfer

pairing
account

Enables account of sos-sdk

archive

Enables archive of sos-sdk

contacts

Enables contacts of sos-sdk

files

Enables files of sos-sdk

Affects auto_merge::AutoMerge.auto_merge_files, auto_merge::AutoMerge.files_hard_conflict, primitives::MaybeConflict.files, primitives::SyncComparison.files, primitives::ForceMerge.force_merge_files, primitives::Merge.merge_files, primitives::Merge.compare_files, remote::RemoteSyncHandler.file_transfer_queue, remote::RemoteSyncHandler.execute_sync_file_transfers, transport::SyncStatus.files, transport::SyncCompare.files, transport::SyncDiff.files, transport::CreateSet.files, transport::UpdateSet.files, transport::MergeOutcome.external_files, transport::TrackedChanges.files, transport::TrackedFileChange, traits::RemoteSync.sync_file_transfers, traits::AccountSync.sync_file_transfers, sos-protocol::transfer

migrate

Enables migrate of sos-sdk

Enables search of sos-sdk

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

tokio-tungstenite listen?

Enables tokio-tungstenite ^0.24

bs58 network-client?

Enables bs58 ^0.4

async-stream network-client?
tokio-util network-client?
reqwest not wasm32 wasm32 hashcheck? network-client?