Cargo Features

sos-account has no features set by default.

[dependencies]
sos-account = { version = "0.16.0", features = ["full", "audit", "archive", "clipboard", "contacts", "migrate", "files", "search"] }
full = archive, audit, clipboard, contacts, files, migrate, search
audit full?

Enables audit of sos-database and sos-sdk

archive full?

Enables tokio-util and walkdir, async_zip, futures-util, and sanitize-filename, archive of sos-database and sos-sdk

Affects account::Account.export_backup_archive, account::Account.restore_archive_inventory, account::Account.import_backup_archive, account::Account.restore_backup_archive, sos-account::archive

clipboard full?

Enables serde_json_path, time-tz, and xclipboard

Affects account::ClipboardTextFormat, account::ClipboardCopyRequest, account::Account.copy_clipboard, account_switcher::AccountSwitcherOptions.clipboard

contacts full?

Enables vcard4

Affects account::ContactImportProgress, account::Account.load_avatar, account::Account.export_contact, account::Account.export_all_contacts, account::Account.import_contacts

migrate full?

Enables migrate of sos-sdk

Affects account::Account.export_unsafe_archive, account::Account.import_file

files full?

Enables walkdir, files of sos-database and sos-sdk

Affects account::SecretChange.file_events, account::SecretMove.file_events, account::SecretDelete.file_events, account::Account.download_file, account::Account.update_file

Enables search of sos-database and sos-sdk

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