1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
//! # Gooseberry - A Knowledge Base for the Lazy
#[macro_use]
extern crate handlebars;
#[macro_use]
extern crate serde_derive;

/// Configuration of data directories and Hypothesis authorization
pub mod configuration;
/// Errors which can be caused by normal Gooseberry operation.
/// Those caused by external libraries throw their own errors when possible
pub mod errors;
/// Main gooseberry logic
pub mod gooseberry;
/// Utility functions
pub mod utils;

/// Name of the app, used for making project directories etc.
pub const NAME: &str = "gooseberry";
/// Minimum sync date, gooseberry starts sync by looking for all annotations created / updated after this date.
pub const MIN_DATE: &str = "1900-01-01T00:00:00.000Z";
/// Tag used to store untagged Hypothesis annotations
/// This shows up only in gooseberry and not in Hypothesis
pub const EMPTY_TAG: &str = "Untagged";