Cargo Features
[dependencies]
sos-sdk = { version = "0.16.1", default-features = false, features = ["account", "archive", "audit", "contacts", "files", "interactive-keychain-tests", "logs", "mem-fs", "migrate", "keychain-access", "recovery", "search", "test-utils"] }
- default = account, audit, logs
-
These default features are set whenever
sos-sdk
is added without
somewhere in the dependency tree.default-features = false - account default
-
Affects
sos-sdk::account
… - archive
-
Enables async_zip
Affects
account::Account.export_backup_archive
,account::Account.restore_archive_inventory
,account::Account.import_backup_archive
,account::Account.restore_backup_archive
,account::archive
… - audit default
-
Affects
sos-sdk::audit
… - contacts
-
Affects
account::ContactImportProgress
,account::Account.load_avatar
,account::Account.export_contact
,account::Account.export_all_contacts
,account::Account.import_contacts
… - files
-
Affects
account::SecretChange.file_events
,account::SecretMove.file_events
,account::SecretDelete.file_events
,account::Account.download_file
,account::Account.update_file
,file::FileEventLog
,patch::FilePatch
,patch::FileDiff
,client::StorageChangeEvent.file_events
,client::ClientStorage.file_log
,storage::files
,storage::AccessOptions.file_progress
,storage::StorageEventLogs.file_log
,storage::StorageEventLogs.canonical_files
… - interactive-keychain-tests
- logs default = rev_buf_reader, tracing-appender, tracing-subscriber
-
Affects
sos-sdk::logs
… - mem-fs
- migrate
-
Enables async_zip and csv-async
Affects
account::Account.export_unsafe_archive
,account::Account.import_file
,sos-sdk::migrate
… - keychain-access
-
Enables keychain_parser and security-framework ^2.8
Affects
import::keychain
… - recovery
-
Enables vsss-rs ^3
Affects
sos-sdk::recovery
… - search
-
Enables probly-search
Affects
account::Account.detached_view
,account::Account.initialize_search_index
,account::Account.statistics
,account::Account.index
,account::Account.query_view
,account::Account.query_map
,account::Account.document_count
,account::Account.document_exists
,client::ClientStorage.index
,storage::search
… - test-utils
-
Enables anyhow
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.