Skip to main content

Module cloud

Module cloud 

Source
Expand description

Cloud sync for cross-machine session access. Cloud sync module for Lore.

Provides functionality for syncing sessions to the Lore cloud service, including authentication, encryption, and API communication.

§Submodules

  • client - HTTP client for cloud API communication
  • credentials - Secure credential storage (keychain + fallback)
  • encryption - End-to-end encryption for session content

Re-exports§

pub use client::CloudClient;
pub use credentials::Credentials;
pub use credentials::CredentialsStore;
pub use encryption::decrypt_data;
pub use encryption::derive_key;
pub use encryption::encrypt_data;

Modules§

client
HTTP client for cloud API communication.
credentials
Credential storage for cloud authentication.
encryption
End-to-end encryption for cloud sync.

Enums§

CloudError
Custom error type for cloud operations.

Constants§

DEFAULT_CLOUD_URL
Default cloud service URL.
KEYRING_API_KEY_USER
User identifier for API key in keyring.
KEYRING_ENCRYPTION_KEY_USER
User identifier for encryption key in keyring.
KEYRING_SERVICE
Service name for keyring storage.