Cargo Features
sos-protocol has no features set by default.
[dependencies]
sos-protocol = { version = "0.16.4", features = ["full", "listen", "hashcheck", "network-client", "contacts", "files", "search"] }
- full = contacts, files, hashcheck, listen, migrate, network-client, pairing, search
- listen full? = tokio-tungstenite
-
Affects
sos-protocol::transfer
… - hashcheck full? = reqwest
-
Affects
sos-protocol::hashcheck
… - network-client full? = async-stream, bs58, reqwest, tokio-util
-
Affects
sos-protocol::network_client
,sos-protocol::transfer
… - pairing contacts full?
- files full? = sos-external-files
-
Affects
diff::SyncComparison.files
,traits::RemoteSync.sync_file_transfers
,traits::AccountSync.sync_file_transfers
,sos-protocol::transfer
… - migrate search full?
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.
- sos-external-files files?
- tokio-tungstenite listen?
-
Enables tokio-tungstenite
network-client
- bs58 network-client?
-
Enables bs58 ^0.4
- async-stream network-client?
- tokio-util network-client?
- reqwest not wasm32 wasm32 hashcheck? network-client?