Initial import of libimagcontact
This commit is contained in:
parent
23820e322e
commit
434505f1f0
3 changed files with 74 additions and 0 deletions
|
@ -21,6 +21,7 @@ members = [
|
||||||
"lib/core/libimagrt",
|
"lib/core/libimagrt",
|
||||||
"lib/core/libimagstore",
|
"lib/core/libimagstore",
|
||||||
"lib/domain/libimagbookmark",
|
"lib/domain/libimagbookmark",
|
||||||
|
"lib/domain/libimagcontact",
|
||||||
"lib/domain/libimagdiary",
|
"lib/domain/libimagdiary",
|
||||||
"lib/domain/libimagmail",
|
"lib/domain/libimagmail",
|
||||||
"lib/domain/libimagnotes",
|
"lib/domain/libimagnotes",
|
||||||
|
|
26
lib/domain/libimagcontact/Cargo.toml
Normal file
26
lib/domain/libimagcontact/Cargo.toml
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
[package]
|
||||||
|
name = "libimagcontact"
|
||||||
|
version = "0.5.0"
|
||||||
|
authors = ["Matthias Beyer <mail@beyermatthias.de>"]
|
||||||
|
|
||||||
|
description = "Library for the imag core distribution"
|
||||||
|
|
||||||
|
keywords = ["imag", "PIM", "personal", "information", "management"]
|
||||||
|
readme = "../../../README.md"
|
||||||
|
license = "LGPL-2.1"
|
||||||
|
|
||||||
|
documentation = "https://matthiasbeyer.github.io/imag/imag_documentation/index.html"
|
||||||
|
repository = "https://github.com/matthiasbeyer/imag"
|
||||||
|
homepage = "http://imag-pim.org"
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
error-chain = "0.11"
|
||||||
|
log = "0.3"
|
||||||
|
toml = "0.4"
|
||||||
|
toml-query = "0.4"
|
||||||
|
vobject = { git = 'https://github.com/matthiasbeyer/rust-vobject', branch = "next" }
|
||||||
|
|
||||||
|
libimagstore = { version = "0.5.0", path = "../../../lib/core/libimagstore" }
|
||||||
|
libimagerror = { version = "0.5.0", path = "../../../lib/core/libimagerror" }
|
||||||
|
libimagentryref = { version = "0.5.0", path = "../../../lib/entry/libimagentryref/" }
|
||||||
|
|
47
lib/domain/libimagcontact/src/lib.rs
Normal file
47
lib/domain/libimagcontact/src/lib.rs
Normal file
|
@ -0,0 +1,47 @@
|
||||||
|
//
|
||||||
|
// imag - the personal information management suite for the commandline
|
||||||
|
// Copyright (C) 2015, 2016 Matthias Beyer <mail@beyermatthias.de> and contributors
|
||||||
|
//
|
||||||
|
// This library is free software; you can redistribute it and/or
|
||||||
|
// modify it under the terms of the GNU Lesser General Public
|
||||||
|
// License as published by the Free Software Foundation; version
|
||||||
|
// 2.1 of the License.
|
||||||
|
//
|
||||||
|
// This library is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
// Lesser General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU Lesser General Public
|
||||||
|
// License along with this library; if not, write to the Free Software
|
||||||
|
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
//
|
||||||
|
|
||||||
|
#![deny(
|
||||||
|
dead_code,
|
||||||
|
non_camel_case_types,
|
||||||
|
non_snake_case,
|
||||||
|
path_statements,
|
||||||
|
trivial_numeric_casts,
|
||||||
|
unstable_features,
|
||||||
|
unused_allocation,
|
||||||
|
unused_import_braces,
|
||||||
|
unused_imports,
|
||||||
|
unused_must_use,
|
||||||
|
unused_mut,
|
||||||
|
unused_qualifications,
|
||||||
|
while_true,
|
||||||
|
)]
|
||||||
|
|
||||||
|
#[macro_use] extern crate log;
|
||||||
|
#[macro_use] extern crate error_chain;
|
||||||
|
extern crate vobject;
|
||||||
|
extern crate toml;
|
||||||
|
extern crate toml_query;
|
||||||
|
|
||||||
|
#[macro_use] extern crate libimagstore;
|
||||||
|
extern crate libimagerror;
|
||||||
|
extern crate libimagentryref;
|
||||||
|
|
||||||
|
module_entry_path_mod!("contact");
|
||||||
|
|
Loading…
Reference in a new issue