Files
autofill
cli_support
error_support
ffi_support
fxa_client
fxaclient_ffi
interrupt_support
logins
logins_ffi
nss
nss_build_common
nss_sys
places
places_ffi
protobuf_gen
push
push_ffi
rc_crypto
rc_log_ffi
restmail_client
sql_support
sync15
sync15_traits
sync_guid
sync_manager
sync_manager_ffi
sync_test
tabs
tabs_ffi
types
viaduct
viaduct_reqwest
webext_storage
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

#![allow(unknown_lints)]
#![warn(rust_2018_idioms)]

#[macro_use]
pub mod error;
mod ffi;
mod storage;
mod sync;

pub mod msg_types {
    include!("mozilla.appservices.remotetabs.protobuf.rs");
}

pub use crate::storage::{ClientRemoteTabs, RemoteTab};
pub use crate::sync::engine::TabsEngine;
pub use crate::sync::store::TabsStore;
pub use error::{Error, ErrorKind, Result};

// Re-export `DeviceType`, so that it's easier for consumers to make
// `ClientRemoteTabs` structs without importing `sync15`.
pub use sync15::clients::DeviceType;