Initial import: libimagentryutil
This commit is contained in:
parent
7cf60d5bec
commit
2d83796ef2
7 changed files with 135 additions and 0 deletions
|
@ -44,6 +44,7 @@ members = [
|
||||||
"lib/entry/libimagentrymarkdown",
|
"lib/entry/libimagentrymarkdown",
|
||||||
"lib/entry/libimagentryref",
|
"lib/entry/libimagentryref",
|
||||||
"lib/entry/libimagentrytag",
|
"lib/entry/libimagentrytag",
|
||||||
|
"lib/entry/libimagentryutil",
|
||||||
"lib/entry/libimagentryview",
|
"lib/entry/libimagentryview",
|
||||||
"lib/etc/libimaginteraction",
|
"lib/etc/libimaginteraction",
|
||||||
"lib/etc/libimagnotification",
|
"lib/etc/libimagnotification",
|
||||||
|
|
6
doc/src/05100-lib-entryutil.md
Normal file
6
doc/src/05100-lib-entryutil.md
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
## libimagentryutil
|
||||||
|
|
||||||
|
This library contains utilities for working with
|
||||||
|
`libimagstore::store::Entry` objects where the functionality does not
|
||||||
|
necessarily belong into `libimagstore`.
|
||||||
|
|
28
lib/entry/libimagentryutil/Cargo.toml
Normal file
28
lib/entry/libimagentryutil/Cargo.toml
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
[package]
|
||||||
|
name = "libimagentryutil"
|
||||||
|
version = "0.6.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"
|
||||||
|
|
||||||
|
[badges]
|
||||||
|
travis-ci = { repository = "matthiasbeyer/imag" }
|
||||||
|
is-it-maintained-issue-resolution = { repository = "matthiasbeyer/imag" }
|
||||||
|
is-it-maintained-open-issues = { repository = "matthiasbeyer/imag" }
|
||||||
|
maintenance = { status = "actively-developed" }
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
toml = "0.4"
|
||||||
|
toml-query = "0.4"
|
||||||
|
error-chain = "0.11"
|
||||||
|
|
||||||
|
libimagstore = { version = "0.6.0", path = "../../../lib/core/libimagstore" }
|
||||||
|
libimagerror = { version = "0.6.0", path = "../../../lib/core/libimagerror" }
|
1
lib/entry/libimagentryutil/README.md
Symbolic link
1
lib/entry/libimagentryutil/README.md
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
../../../doc/src/05100-lib-entryutil.md
|
32
lib/entry/libimagentryutil/src/error.rs
Normal file
32
lib/entry/libimagentryutil/src/error.rs
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
//
|
||||||
|
// 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
|
||||||
|
//
|
||||||
|
|
||||||
|
error_chain! {
|
||||||
|
types {
|
||||||
|
EntryUtilError, EntryUtilErrorKind, ResultExt, Result;
|
||||||
|
}
|
||||||
|
|
||||||
|
foreign_links {
|
||||||
|
TomlQueryError(::toml_query::error::Error);
|
||||||
|
}
|
||||||
|
|
||||||
|
errors {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
20
lib/entry/libimagentryutil/src/isa.rs
Normal file
20
lib/entry/libimagentryutil/src/isa.rs
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
//
|
||||||
|
// 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
|
||||||
|
//
|
||||||
|
|
||||||
|
|
47
lib/entry/libimagentryutil/src/lib.rs
Normal file
47
lib/entry/libimagentryutil/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
|
||||||
|
//
|
||||||
|
|
||||||
|
#![recursion_limit="256"]
|
||||||
|
|
||||||
|
#![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,
|
||||||
|
)]
|
||||||
|
|
||||||
|
extern crate toml;
|
||||||
|
extern crate toml_query;
|
||||||
|
#[macro_use] extern crate error_chain;
|
||||||
|
|
||||||
|
extern crate libimagstore;
|
||||||
|
extern crate libimagerror;
|
||||||
|
|
||||||
|
pub mod error;
|
||||||
|
pub mod isa;
|
||||||
|
|
Loading…
Reference in a new issue