How mozilla/application-services works
Firefox Application Services is a collection of Rust libraries that Firefox applications consume through native-language bindings. Its product workflow is therefore integration: an application uses a component API to access account, sync, storage, networking, experimentation, or other browser services. Sync-capable components stage and apply records through shared Sync 1.5 engines and a storage client. The README documents the consumer and binding model; sampled source shows selected sync and persistence relationships, not a single repository-wide runtime pipeline.
Main entry points: sync_engine.rs Sync Protocol · android Native Bindings · sync/engine.rs Saved Logins · sync/engine.rs Autofill Data
Components 19
App Integration
- Native Bindings
components/places/android
Accounts & Sync
- Firefox Accounts
components/fxa-client/src/account.rs - Sync Protocol
components/sync15/src/engine/sync_engine.rs - Sync Storage Client
components/sync15/src/client/storage_client.rs - Sync Manager
components/sync_manager/src/manager.rs
Browser Data
- Saved Logins
components/logins/src/sync/engine.rs - Autofill Data
components/autofill/src/sync/engine.rs - Places API
components/places/src/api/places_api.rs - Places Storage
components/places/src/storage/mod.rs - Bookmark Sync
components/places/src/bookmark_sync/engine.rs - History Sync
components/places/src/history_sync/engine.rs - Remote Tabs
components/tabs/src/storage.rs - Tabs Sync
components/tabs/src/sync/engine.rs
Remote Services
- Remote Settings
components/remote_settings/src/client.rs - Ads Client
components/ads-client/src/client.rs - WebPush
components/push/src/internal/push_manager.rs
Experiments
- Nimbus Experiments
components/nimbus/src/stateful/nimbus_client.rs - Nimbus CLI
components/support/nimbus-cli/src/main.rs
Other components
- Firefox Apps
Connections 19
- Firefox Apps → Native Bindings: integrate through
- Native Bindings → Places API: wraps Rust API
- Firefox Apps → Firefox Accounts: use component
- Firefox Apps → Saved Logins: use component
- Firefox Apps → Autofill Data: use component
- Firefox Apps → Places API: use component
- Firefox Apps → Remote Tabs: use component
- Firefox Apps → Remote Settings: use component
- Firefox Apps → Ads Client: use component
- Firefox Apps → WebPush: use component
- Firefox Apps → Nimbus Experiments: use component
- Saved Logins → Sync Protocol: implements sync
- Autofill Data → Sync Protocol: implements sync
- Bookmark Sync → Places Storage: syncs bookmarks
components/places/src/bookmark_sync/engine.rs - History Sync → Places Storage: reads and writes
components/places/src/history_sync/engine.rs - Tabs Sync → Remote Tabs: reads and writes
components/tabs/src/sync/engine.rs - Sync Manager → Sync Protocol: coordinates engines
- Sync Protocol → Sync Storage Client: uses storage client
- Firefox Apps → Nimbus CLI: configure experiments