forked from mozilla/application-services
-
Notifications
You must be signed in to change notification settings - Fork 0
/
lib.rs
41 lines (35 loc) · 1.05 KB
/
lib.rs
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/* 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)]
pub mod api;
pub mod error;
pub mod types;
// Making these all pub for now while we flesh out the API.
pub mod bookmark_sync;
pub mod db;
pub mod ffi;
pub mod frecency;
pub mod hash;
pub mod history_sync;
// match_impl is pub mostly for benchmarks (which have to run as a separate pseudo-crate).
pub mod import;
pub mod match_impl;
pub mod observation;
pub mod storage;
#[cfg(test)]
mod tests;
mod util;
pub use crate::api::apply_observation;
#[cfg(test)]
pub use crate::api::places_api::test;
pub use crate::api::places_api::{get_registered_sync_engine, ConnectionType, PlacesApi};
pub use crate::db::PlacesDb;
pub use crate::error::*;
pub use crate::observation::*;
pub use crate::storage::PageInfo;
pub use crate::storage::RowId;
pub use crate::types::*;
pub use ffi::*;
uniffi::include_scaffolding!("places");