Merge pull request #1008 from matthiasbeyer/subdirs
Reorganize code in subdirs
This commit is contained in:
commit
4c4de294b5
366 changed files with 387 additions and 356 deletions
|
@ -15,27 +15,28 @@ homepage = "http://imag-pim.org"
|
|||
|
||||
[dependencies]
|
||||
|
||||
libimagannotation = { version = "0.4.0", path = "../libimagannotation" }
|
||||
libimagbookmark = { version = "0.4.0", path = "../libimagbookmark" }
|
||||
libimagcounter = { version = "0.4.0", path = "../libimagcounter" }
|
||||
libimagdiary = { version = "0.4.0", path = "../libimagdiary" }
|
||||
libimagentrycategory = { version = "0.4.0", path = "../libimagentrycategory" }
|
||||
libimagentrydatetime = { version = "0.4.0", path = "../libimagentrydatetime" }
|
||||
libimagentryedit = { version = "0.4.0", path = "../libimagentryedit" }
|
||||
libimagentryfilter = { version = "0.4.0", path = "../libimagentryfilter" }
|
||||
libimagentrylink = { version = "0.4.0", path = "../libimagentrylink" }
|
||||
libimagentrylist = { version = "0.4.0", path = "../libimagentrylist" }
|
||||
libimagentrymarkdown = { version = "0.4.0", path = "../libimagentrymarkdown" }
|
||||
libimagentrytag = { version = "0.4.0", path = "../libimagentrytag" }
|
||||
libimagentrytimetrack = { version = "0.4.0", path = "../libimagentrytimetrack" }
|
||||
libimagentryview = { version = "0.4.0", path = "../libimagentryview" }
|
||||
libimagerror = { version = "0.4.0", path = "../libimagerror" }
|
||||
libimaginteraction = { version = "0.4.0", path = "../libimaginteraction" }
|
||||
libimagmail = { version = "0.4.0", path = "../libimagmail" }
|
||||
libimagnotes = { version = "0.4.0", path = "../libimagnotes" }
|
||||
libimagref = { version = "0.4.0", path = "../libimagref" }
|
||||
libimagrt = { version = "0.4.0", path = "../libimagrt" }
|
||||
libimagstore = { version = "0.4.0", path = "../libimagstore" }
|
||||
libimagtimeui = { version = "0.4.0", path = "../libimagtimeui" }
|
||||
libimagtodo = { version = "0.4.0", path = "../libimagtodo" }
|
||||
libimagutil = { version = "0.4.0", path = "../libimagutil" }
|
||||
libimagbookmark = { version = "0.4.0", path = "../lib/domain/libimagbookmark" }
|
||||
libimagcounter = { version = "0.4.0", path = "../lib/domain/libimagcounter" }
|
||||
libimagdiary = { version = "0.4.0", path = "../lib/domain/libimagdiary" }
|
||||
libimagentryannotation = { version = "0.4.0", path = "../lib/entry/libimagentryannotation" }
|
||||
libimagentrycategory = { version = "0.4.0", path = "../lib/entry/libimagentrycategory" }
|
||||
libimagentrydatetime = { version = "0.4.0", path = "../lib/entry/libimagentrydatetime" }
|
||||
libimagentryedit = { version = "0.4.0", path = "../lib/entry/libimagentryedit" }
|
||||
libimagentryfilter = { version = "0.4.0", path = "../lib/entry/libimagentryfilter" }
|
||||
libimagentrylink = { version = "0.4.0", path = "../lib/entry/libimagentrylink" }
|
||||
libimagentrylist = { version = "0.4.0", path = "../lib/entry/libimagentrylist" }
|
||||
libimagentrymarkdown = { version = "0.4.0", path = "../lib/entry/libimagentrymarkdown" }
|
||||
libimagentryref = { version = "0.4.0", path = "../lib/entry/libimagentryref" }
|
||||
libimagentrytag = { version = "0.4.0", path = "../lib/entry/libimagentrytag" }
|
||||
libimagentryview = { version = "0.4.0", path = "../lib/entry/libimagentryview" }
|
||||
libimagerror = { version = "0.4.0", path = "../lib/core/libimagerror" }
|
||||
libimaginteraction = { version = "0.4.0", path = "../lib/etc/libimaginteraction" }
|
||||
libimagmail = { version = "0.4.0", path = "../lib/domain/libimagmail" }
|
||||
libimagnotes = { version = "0.4.0", path = "../lib/domain/libimagnotes" }
|
||||
libimagrt = { version = "0.4.0", path = "../lib/core/libimagrt" }
|
||||
libimagstore = { version = "0.4.0", path = "../lib/core/libimagstore" }
|
||||
libimagtimetrack = { version = "0.4.0", path = "../lib/domain/libimagtimetrack" }
|
||||
libimagtimeui = { version = "0.4.0", path = "../lib/etc/libimagtimeui" }
|
||||
libimagtodo = { version = "0.4.0", path = "../lib/domain/libimagtodo" }
|
||||
libimagutil = { version = "0.4.0", path = "../lib/etc/libimagutil" }
|
||||
|
||||
|
|
74
Cargo.toml
74
Cargo.toml
|
@ -1,41 +1,41 @@
|
|||
[workspace]
|
||||
members = [
|
||||
".imag-documentation",
|
||||
"bin",
|
||||
"imag-bookmark",
|
||||
"imag-counter",
|
||||
"imag-diary",
|
||||
"imag-link",
|
||||
"imag-mail",
|
||||
"imag-notes",
|
||||
"imag-ref",
|
||||
"imag-store",
|
||||
"imag-tag",
|
||||
"imag-timetrack",
|
||||
"imag-todo",
|
||||
"imag-view",
|
||||
"libimagannotation",
|
||||
"libimagbookmark",
|
||||
"libimagcounter",
|
||||
"libimagdiary",
|
||||
"libimagentrycategory",
|
||||
"libimagentrydatetime",
|
||||
"libimagentryedit",
|
||||
"libimagentryfilter",
|
||||
"libimagentrylink",
|
||||
"libimagentrylist",
|
||||
"libimagentrymarkdown",
|
||||
"libimagentrytag",
|
||||
"libimagentrytimetrack",
|
||||
"libimagentryview",
|
||||
"libimagerror",
|
||||
"libimaginteraction",
|
||||
"libimagmail",
|
||||
"libimagnotes",
|
||||
"libimagref",
|
||||
"libimagrt",
|
||||
"libimagstore",
|
||||
"libimagtimeui",
|
||||
"libimagtodo",
|
||||
"libimagutil",
|
||||
"bin/core/imag",
|
||||
"bin/core/imag-link",
|
||||
"bin/core/imag-ref",
|
||||
"bin/core/imag-store",
|
||||
"bin/core/imag-tag",
|
||||
"bin/core/imag-view",
|
||||
"bin/domain/imag-bookmark",
|
||||
"bin/domain/imag-counter",
|
||||
"bin/domain/imag-diary",
|
||||
"bin/domain/imag-mail",
|
||||
"bin/domain/imag-notes",
|
||||
"bin/domain/imag-timetrack",
|
||||
"bin/domain/imag-todo",
|
||||
"lib/core/libimagerror",
|
||||
"lib/core/libimagrt",
|
||||
"lib/core/libimagstore",
|
||||
"lib/domain/libimagbookmark",
|
||||
"lib/domain/libimagcounter",
|
||||
"lib/domain/libimagdiary",
|
||||
"lib/domain/libimagmail",
|
||||
"lib/domain/libimagnotes",
|
||||
"lib/domain/libimagtimetrack",
|
||||
"lib/domain/libimagtodo",
|
||||
"lib/entry/libimagentryannotation",
|
||||
"lib/entry/libimagentrycategory",
|
||||
"lib/entry/libimagentrydatetime",
|
||||
"lib/entry/libimagentryedit",
|
||||
"lib/entry/libimagentryfilter",
|
||||
"lib/entry/libimagentrylink",
|
||||
"lib/entry/libimagentrylist",
|
||||
"lib/entry/libimagentrymarkdown",
|
||||
"lib/entry/libimagentryref",
|
||||
"lib/entry/libimagentrytag",
|
||||
"lib/entry/libimagentryview",
|
||||
"lib/etc/libimaginteraction",
|
||||
"lib/etc/libimagtimeui",
|
||||
"lib/etc/libimagutil",
|
||||
]
|
||||
|
|
|
@ -22,15 +22,15 @@ toml = "^0.4"
|
|||
toml-query = "0.1"
|
||||
url = "1.2"
|
||||
|
||||
libimagstore = { version = "0.4.0", path = "../libimagstore" }
|
||||
libimagrt = { version = "0.4.0", path = "../libimagrt" }
|
||||
libimagentrylink = { version = "0.4.0", path = "../libimagentrylink" }
|
||||
libimagerror = { version = "0.4.0", path = "../libimagerror" }
|
||||
libimagutil = { version = "0.4.0", path = "../libimagutil" }
|
||||
libimagstore = { version = "0.4.0", path = "../../../lib/core/libimagstore" }
|
||||
libimagrt = { version = "0.4.0", path = "../../../lib/core/libimagrt" }
|
||||
libimagerror = { version = "0.4.0", path = "../../../lib/core/libimagerror" }
|
||||
libimagentrylink = { version = "0.4.0", path = "../../../lib/entry/libimagentrylink" }
|
||||
libimagutil = { version = "0.4.0", path = "../../../lib/etc/libimagutil" }
|
||||
|
||||
[dev-dependencies.libimagutil]
|
||||
version = "0.4.0"
|
||||
path = "../libimagutil"
|
||||
path = "../../../lib/etc/libimagutil"
|
||||
default-features = false
|
||||
features = ["testing"]
|
||||
|
1
bin/core/imag-link/README.md
Symbolic link
1
bin/core/imag-link/README.md
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../../doc/src/04020-module-link.md
|
28
bin/core/imag-ref/Cargo.toml
Normal file
28
bin/core/imag-ref/Cargo.toml
Normal file
|
@ -0,0 +1,28 @@
|
|||
[package]
|
||||
name = "imag-ref"
|
||||
version = "0.4.0"
|
||||
authors = ["Matthias Beyer <mail@beyermatthias.de>"]
|
||||
|
||||
description = "Part of the imag core distribution: imag-ref command"
|
||||
|
||||
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]
|
||||
semver = "0.5.1"
|
||||
clap = ">=2.17"
|
||||
log = "0.3"
|
||||
version = "2.0.1"
|
||||
|
||||
libimagstore = { version = "0.4.0", path = "../../../lib/core/libimagstore" }
|
||||
libimagrt = { version = "0.4.0", path = "../../../lib/core/libimagrt" }
|
||||
libimagerror = { version = "0.4.0", path = "../../../lib/core/libimagerror" }
|
||||
libimagentryref = { version = "0.4.0", path = "../../../lib/entry/libimagentryref" }
|
||||
libimagentrylist = { version = "0.4.0", path = "../../../lib/entry/libimagentrylist" }
|
||||
libimaginteraction = { version = "0.4.0", path = "../../../lib/etc/libimaginteraction" }
|
||||
libimagutil = { version = "0.4.0", path = "../../../lib/etc/libimagutil" }
|
1
bin/core/imag-ref/README.md
Symbolic link
1
bin/core/imag-ref/README.md
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../../doc/src/04020-module-ref.md
|
|
@ -39,7 +39,7 @@ extern crate clap;
|
|||
|
||||
extern crate libimagstore;
|
||||
extern crate libimagrt;
|
||||
extern crate libimagref;
|
||||
extern crate libimagentryref;
|
||||
extern crate libimagerror;
|
||||
extern crate libimagentrylist;
|
||||
extern crate libimaginteraction;
|
||||
|
@ -50,8 +50,8 @@ use ui::build_ui;
|
|||
|
||||
use std::path::PathBuf;
|
||||
|
||||
use libimagref::reference::Ref;
|
||||
use libimagref::flags::RefFlags;
|
||||
use libimagentryref::reference::Ref;
|
||||
use libimagentryref::flags::RefFlags;
|
||||
use libimagerror::trace::trace_error;
|
||||
use libimagrt::setup::generate_runtime_setup;
|
||||
use libimagrt::runtime::Runtime;
|
||||
|
@ -118,7 +118,7 @@ fn list(rt: &Runtime) {
|
|||
use std::process::exit;
|
||||
|
||||
use libimagentrylist::lister::Lister;
|
||||
use libimagref::lister::RefLister;
|
||||
use libimagentryref::lister::RefLister;
|
||||
|
||||
let cmd = rt.cli().subcommand_matches("list").unwrap();
|
||||
let do_check_dead = cmd.is_present("check-dead");
|
|
@ -20,10 +20,10 @@ version = "2.0.1"
|
|||
semver = "0.5"
|
||||
toml = "^0.4"
|
||||
|
||||
libimagstore = { version = "0.4.0", path = "../libimagstore", default-features = false, features = ["verify"] }
|
||||
libimagrt = { version = "0.4.0", path = "../libimagrt" }
|
||||
libimagutil = { version = "0.4.0", path = "../libimagutil" }
|
||||
libimagerror = { version = "0.4.0", path = "../libimagerror" }
|
||||
libimagstore = { version = "0.4.0", path = "../../../lib/core/libimagstore", features = ["verify"] }
|
||||
libimagrt = { version = "0.4.0", path = "../../../lib/core/libimagrt" }
|
||||
libimagerror = { version = "0.4.0", path = "../../../lib/core/libimagerror" }
|
||||
libimagutil = { version = "0.4.0", path = "../../../lib/etc/libimagutil" }
|
||||
|
||||
[features]
|
||||
early-panic = [ "libimagstore/early-panic" ]
|
1
bin/core/imag-store/README.md
Symbolic link
1
bin/core/imag-store/README.md
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../../doc/src/04020-module-store.md
|
|
@ -20,11 +20,11 @@ version = "2.0.1"
|
|||
semver = "0.2"
|
||||
toml = "^0.4"
|
||||
|
||||
libimagstore = { version = "0.4.0", path = "../libimagstore" }
|
||||
libimagrt = { version = "0.4.0", path = "../libimagrt" }
|
||||
libimagerror = { version = "0.4.0", path = "../libimagerror" }
|
||||
libimagentrytag = { version = "0.4.0", path = "../libimagentrytag" }
|
||||
libimagutil = { version = "0.4.0", path = "../libimagutil" }
|
||||
libimagstore = { version = "0.4.0", path = "../../../lib/core/libimagstore" }
|
||||
libimagrt = { version = "0.4.0", path = "../../../lib/core/libimagrt" }
|
||||
libimagerror = { version = "0.4.0", path = "../../../lib/core/libimagerror" }
|
||||
libimagentrytag = { version = "0.4.0", path = "../../../lib/entry/libimagentrytag" }
|
||||
libimagutil = { version = "0.4.0", path = "../../../lib/etc/libimagutil" }
|
||||
|
||||
[dev-dependencies]
|
||||
toml-query = "0.3.0"
|
||||
|
@ -32,7 +32,7 @@ env_logger = "0.3"
|
|||
|
||||
[dev-dependencies.libimagutil]
|
||||
version = "0.4.0"
|
||||
path = "../libimagutil"
|
||||
path = "../../../lib/etc/libimagutil"
|
||||
default-features = false
|
||||
features = ["testing"]
|
||||
|
1
bin/core/imag-tag/README.md
Symbolic link
1
bin/core/imag-tag/README.md
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../../doc/src/04020-module-tag.md
|
|
@ -20,7 +20,8 @@ semver = "0.5"
|
|||
toml = "^0.4"
|
||||
version = "2.0.1"
|
||||
|
||||
libimagstore = { version = "0.4.0", path = "../libimagstore" }
|
||||
libimagrt = { version = "0.4.0", path = "../libimagrt" }
|
||||
libimagerror = { version = "0.4.0", path = "../libimagerror" }
|
||||
libimagentryview = { version = "0.4.0", path = "../libimagentryview" }
|
||||
libimagstore = { version = "0.4.0", path = "../../../lib/core/libimagstore" }
|
||||
libimagrt = { version = "0.4.0", path = "../../../lib/core/libimagrt" }
|
||||
libimagerror = { version = "0.4.0", path = "../../../lib/core/libimagerror" }
|
||||
libimagentryview = { version = "0.4.0", path = "../../../lib/entry/libimagentryview" }
|
||||
|
1
bin/core/imag-view/README.md
Symbolic link
1
bin/core/imag-view/README.md
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../../doc/src/04020-module-view.md
|
|
@ -16,9 +16,9 @@ homepage = "http://imag-pim.org"
|
|||
[build-dependencies]
|
||||
clap = ">=2.16.1"
|
||||
version = "2.0"
|
||||
libimagrt = { path = "../libimagrt" }
|
||||
libimagentrytag = { path = "../libimagentrytag" }
|
||||
libimagutil = { path = "../libimagutil" }
|
||||
libimagrt = { path = "../../../lib/core/libimagrt" }
|
||||
libimagentrytag = { path = "../../../lib/entry/libimagentrytag" }
|
||||
libimagutil = { path = "../../../lib/etc/libimagutil" }
|
||||
|
||||
[dependencies]
|
||||
version = "2.0"
|
||||
|
@ -26,6 +26,7 @@ walkdir = "0.1"
|
|||
clap = "2.*"
|
||||
log = "0.3"
|
||||
|
||||
libimagrt = { version = "0.4.0", path = "../libimagrt" }
|
||||
libimagerror = { version = "0.4.0", path = "../libimagerror" }
|
||||
libimagrt = { version = "0.4.0", path = "../../../lib/core/libimagrt" }
|
||||
libimagerror = { version = "0.4.0", path = "../../../lib/core/libimagerror" }
|
||||
|
||||
|
|
@ -18,9 +18,9 @@ clap = ">=2.17"
|
|||
log = "0.3"
|
||||
version = "2.0.1"
|
||||
|
||||
libimagrt = { version = "0.4.0", path = "../libimagrt" }
|
||||
libimagutil = { version = "0.4.0", path = "../libimagutil" }
|
||||
libimagbookmark = { version = "0.4.0", path = "../libimagbookmark" }
|
||||
libimagerror = { version = "0.4.0", path = "../libimagerror" }
|
||||
libimagentrylink = { version = "0.4.0", path = "../libimagentrylink" }
|
||||
libimagentrytag = { version = "0.4.0", path = "../libimagentrytag" }
|
||||
libimagrt = { version = "0.4.0", path = "../../../lib/core/libimagrt" }
|
||||
libimagerror = { version = "0.4.0", path = "../../../lib/core/libimagerror" }
|
||||
libimagbookmark = { version = "0.4.0", path = "../../../lib/domain/libimagbookmark" }
|
||||
libimagentrylink = { version = "0.4.0", path = "../../../lib/entry/libimagentrylink" }
|
||||
libimagentrytag = { version = "0.4.0", path = "../../../lib/entry/libimagentrytag" }
|
||||
libimagutil = { version = "0.4.0", path = "../../../lib/etc/libimagutil" }
|
1
bin/domain/imag-bookmark/README.md
Symbolic link
1
bin/domain/imag-bookmark/README.md
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../../doc/src/04020-module-bookmarks.md
|
|
@ -18,7 +18,8 @@ clap = ">=2.17"
|
|||
log = "0.3"
|
||||
version = "2.0.1"
|
||||
|
||||
libimagrt = { version = "0.4.0", path = "../libimagrt" }
|
||||
libimagerror = { version = "0.4.0", path = "../libimagerror" }
|
||||
libimagutil = { version = "0.4.0", path = "../libimagutil" }
|
||||
libimagcounter = { version = "0.4.0", path = "../libimagcounter" }
|
||||
libimagrt = { version = "0.4.0", path = "../../../lib/core/libimagrt" }
|
||||
libimagerror = { version = "0.4.0", path = "../../../lib/core/libimagerror" }
|
||||
libimagutil = { version = "0.4.0", path = "../../../lib/etc/libimagutil" }
|
||||
libimagcounter = { version = "0.4.0", path = "../../../lib/domain/libimagcounter" }
|
||||
|
1
bin/domain/imag-counter/README.md
Symbolic link
1
bin/domain/imag-counter/README.md
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../../doc/src/04020-module-counter.md
|
31
bin/domain/imag-diary/Cargo.toml
Normal file
31
bin/domain/imag-diary/Cargo.toml
Normal file
|
@ -0,0 +1,31 @@
|
|||
[package]
|
||||
name = "imag-diary"
|
||||
version = "0.4.0"
|
||||
authors = ["Matthias Beyer <mail@beyermatthias.de>"]
|
||||
|
||||
description = "Part of the imag core distribution: imag-diary command"
|
||||
|
||||
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]
|
||||
chrono = "0.4"
|
||||
version = "2.0"
|
||||
clap = "2.*"
|
||||
log = "0.3"
|
||||
|
||||
libimagerror = { version = "0.4.0", path = "../../../lib/core/libimagerror" }
|
||||
libimagstore = { version = "0.4.0", path = "../../../lib/core/libimagstore" }
|
||||
libimagrt = { version = "0.4.0", path = "../../../lib/core/libimagrt" }
|
||||
libimagdiary = { version = "0.4.0", path = "../../../lib/domain/libimagdiary" }
|
||||
libimagentryedit = { version = "0.4.0", path = "../../../lib/entry/libimagentryedit" }
|
||||
libimagentrylist = { version = "0.4.0", path = "../../../lib/entry/libimagentrylist" }
|
||||
libimaginteraction = { version = "0.4.0", path = "../../../lib/etc/libimaginteraction" }
|
||||
libimagutil = { version = "0.4.0", path = "../../../lib/etc/libimagutil" }
|
||||
libimagtimeui = { version = "0.4.0", path = "../../../lib/etc/libimagtimeui" }
|
||||
|
1
bin/domain/imag-diary/README.md
Symbolic link
1
bin/domain/imag-diary/README.md
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../../doc/src/04020-module-diary.md
|
24
bin/domain/imag-mail/Cargo.toml
Normal file
24
bin/domain/imag-mail/Cargo.toml
Normal file
|
@ -0,0 +1,24 @@
|
|||
[package]
|
||||
name = "imag-mail"
|
||||
version = "0.4.0"
|
||||
authors = ["Matthias Beyer <mail@beyermatthias.de>"]
|
||||
|
||||
description = "Part of the imag core distribution: imag-notes command"
|
||||
|
||||
keywords = ["imag", "PIM", "personal", "information", "management"]
|
||||
readme = "../README.md"
|
||||
license = "LGPL-2.1"
|
||||
|
||||
[dependencies]
|
||||
semver = "0.5"
|
||||
clap = "2.*"
|
||||
log = "0.3"
|
||||
version = "2.0.1"
|
||||
toml = "0.4.*"
|
||||
url = "1.2"
|
||||
|
||||
libimagrt = { version = "0.4.0", path = "../../../lib/core/libimagrt" }
|
||||
libimagerror = { version = "0.4.0", path = "../../../lib/core/libimagerror" }
|
||||
libimagmail = { version = "0.4.0", path = "../../../lib/domain/libimagmail" }
|
||||
libimagentryref = { version = "0.4.0", path = "../../../lib/entry/libimagentryref" }
|
||||
libimagutil = { version = "0.4.0", path = "../../../lib/etc/libimagutil" }
|
1
bin/domain/imag-mail/README.md
Symbolic link
1
bin/domain/imag-mail/README.md
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../../doc/src/04020-module-mails.md
|
|
@ -28,11 +28,11 @@ extern crate libimagrt;
|
|||
extern crate libimagmail;
|
||||
extern crate libimagerror;
|
||||
extern crate libimagutil;
|
||||
extern crate libimagref;
|
||||
extern crate libimagentryref;
|
||||
|
||||
use libimagerror::trace::{MapErrTrace, trace_error, trace_error_exit};
|
||||
use libimagmail::mail::Mail;
|
||||
use libimagref::reference::Ref;
|
||||
use libimagentryref::reference::Ref;
|
||||
use libimagrt::runtime::Runtime;
|
||||
use libimagrt::setup::generate_runtime_setup;
|
||||
use libimagutil::debug_result::*;
|
|
@ -38,7 +38,7 @@ pub fn build_ui<'a>(app: App<'a, 'a>) -> App<'a, 'a> {
|
|||
.version("0.1")
|
||||
|
||||
// TODO: Thee following four arguments are the same as in imag-ref.
|
||||
// We should make these importable from libimagref.
|
||||
// We should make these importable from libimagentryref.
|
||||
|
||||
.arg(Arg::with_name("check-dead")
|
||||
.long("check-dead")
|
|
@ -20,9 +20,9 @@ log = "0.3"
|
|||
version = "2.0.1"
|
||||
itertools = "0.5"
|
||||
|
||||
libimagrt = { version = "0.4.0", path = "../libimagrt" }
|
||||
libimagnotes = { version = "0.4.0", path = "../libimagnotes" }
|
||||
libimagentryedit = { version = "0.4.0", path = "../libimagentryedit" }
|
||||
libimagentrytag = { version = "0.4.0", path = "../libimagentrytag" }
|
||||
libimagerror = { version = "0.4.0", path = "../libimagerror" }
|
||||
libimagutil = { version = "0.4.0", path = "../libimagutil" }
|
||||
libimagrt = { version = "0.4.0", path = "../../../lib/core/libimagrt" }
|
||||
libimagerror = { version = "0.4.0", path = "../../../lib/core/libimagerror" }
|
||||
libimagnotes = { version = "0.4.0", path = "../../../lib/domain/libimagnotes" }
|
||||
libimagentryedit = { version = "0.4.0", path = "../../../lib/entry/libimagentryedit" }
|
||||
libimagentrytag = { version = "0.4.0", path = "../../../lib/entry/libimagentrytag" }
|
||||
libimagutil = { version = "0.4.0", path = "../../../lib/etc/libimagutil" }
|
1
bin/domain/imag-notes/README.md
Symbolic link
1
bin/domain/imag-notes/README.md
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../../doc/src/04020-module-notes.md
|
|
@ -23,8 +23,8 @@ chrono = "^0.4"
|
|||
filters = "0.1.1"
|
||||
itertools = "0.6"
|
||||
|
||||
libimagstore = { version = "0.4.0", path = "../libimagstore" }
|
||||
libimagrt = { version = "0.4.0", path = "../libimagrt" }
|
||||
libimagerror = { version = "0.4.0", path = "../libimagerror" }
|
||||
libimagentrytimetrack = { version = "0.4.0", path = "../libimagentrytimetrack" }
|
||||
libimagutil = { version = "0.4.0", path = "../libimagutil" }
|
||||
libimagstore = { version = "0.4.0", path = "../../../lib/core/libimagstore" }
|
||||
libimagrt = { version = "0.4.0", path = "../../../lib/core/libimagrt" }
|
||||
libimagerror = { version = "0.4.0", path = "../../../lib/core/libimagerror" }
|
||||
libimagtimetrack = { version = "0.4.0", path = "../../../lib/domain/libimagtimetrack" }
|
||||
libimagutil = { version = "0.4.0", path = "../../../lib/etc/libimagutil" }
|
1
bin/domain/imag-timetrack/README.md
Symbolic link
1
bin/domain/imag-timetrack/README.md
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../../doc/src/04020-module-timetrack.md
|
|
@ -29,9 +29,9 @@ use chrono::NaiveDateTime;
|
|||
use libimagerror::trace::trace_error;
|
||||
use libimagerror::trace::MapErrTrace;
|
||||
use libimagerror::iter::TraceIterator;
|
||||
use libimagentrytimetrack::timetrackingstore::TimeTrackStore;
|
||||
use libimagentrytimetrack::timetracking::TimeTracking;
|
||||
use libimagentrytimetrack::iter::filter::*;
|
||||
use libimagtimetrack::timetrackingstore::TimeTrackStore;
|
||||
use libimagtimetrack::timetracking::TimeTracking;
|
||||
use libimagtimetrack::iter::filter::*;
|
||||
|
||||
use libimagrt::runtime::Runtime;
|
||||
|
|
@ -31,10 +31,10 @@ use libimagerror::trace::trace_error;
|
|||
use libimagerror::trace::MapErrTrace;
|
||||
use libimagerror::iter::TraceIterator;
|
||||
use libimagstore::store::FileLockEntry;
|
||||
use libimagentrytimetrack::timetrackingstore::TimeTrackStore;
|
||||
use libimagentrytimetrack::timetracking::TimeTracking;
|
||||
use libimagentrytimetrack::tag::TimeTrackingTag;
|
||||
use libimagentrytimetrack::iter::filter::*;
|
||||
use libimagtimetrack::timetrackingstore::TimeTrackStore;
|
||||
use libimagtimetrack::timetracking::TimeTracking;
|
||||
use libimagtimetrack::tag::TimeTrackingTag;
|
||||
use libimagtimetrack::iter::filter::*;
|
||||
|
||||
use libimagrt::runtime::Runtime;
|
||||
|
|
@ -31,9 +31,9 @@ use libimagerror::trace::trace_error;
|
|||
use libimagerror::trace::MapErrTrace;
|
||||
use libimagerror::iter::TraceIterator;
|
||||
use libimagstore::store::FileLockEntry;
|
||||
use libimagentrytimetrack::timetrackingstore::TimeTrackStore;
|
||||
use libimagentrytimetrack::timetracking::TimeTracking;
|
||||
use libimagentrytimetrack::iter::filter::*;
|
||||
use libimagtimetrack::timetrackingstore::TimeTrackStore;
|
||||
use libimagtimetrack::timetracking::TimeTracking;
|
||||
use libimagtimetrack::iter::filter::*;
|
||||
|
||||
use libimagrt::runtime::Runtime;
|
||||
|
|
@ -33,7 +33,7 @@ extern crate itertools;
|
|||
extern crate libimagerror;
|
||||
extern crate libimagstore;
|
||||
extern crate libimagrt;
|
||||
extern crate libimagentrytimetrack;
|
||||
extern crate libimagtimetrack;
|
||||
extern crate libimagutil;
|
||||
|
||||
mod cont;
|
|
@ -31,10 +31,10 @@ use libimagerror::trace::trace_error;
|
|||
use libimagerror::trace::MapErrTrace;
|
||||
use libimagerror::iter::TraceIterator;
|
||||
use libimagstore::store::FileLockEntry;
|
||||
use libimagentrytimetrack::timetrackingstore::TimeTrackStore;
|
||||
use libimagentrytimetrack::timetracking::TimeTracking;
|
||||
use libimagentrytimetrack::tag::TimeTrackingTag;
|
||||
use libimagentrytimetrack::iter::filter::*;
|
||||
use libimagtimetrack::timetrackingstore::TimeTrackStore;
|
||||
use libimagtimetrack::timetracking::TimeTracking;
|
||||
use libimagtimetrack::tag::TimeTrackingTag;
|
||||
use libimagtimetrack::iter::filter::*;
|
||||
|
||||
use libimagrt::runtime::Runtime;
|
||||
|
|
@ -21,8 +21,8 @@ use std::str::FromStr;
|
|||
|
||||
use libimagrt::runtime::Runtime;
|
||||
use libimagerror::trace::trace_error;
|
||||
use libimagentrytimetrack::tag::TimeTrackingTag;
|
||||
use libimagentrytimetrack::timetrackingstore::TimeTrackStore;
|
||||
use libimagtimetrack::tag::TimeTrackingTag;
|
||||
use libimagtimetrack::timetrackingstore::TimeTrackStore;
|
||||
use libimagerror::trace::MapErrTrace;
|
||||
|
||||
pub fn start(rt: &Runtime) -> i32 {
|
|
@ -26,12 +26,12 @@ use libimagerror::iter::TraceIterator;
|
|||
use libimagrt::runtime::Runtime;
|
||||
use libimagrt::setup::generate_runtime_setup;
|
||||
|
||||
use libimagentrytimetrack::timetracking::TimeTracking;
|
||||
use libimagentrytimetrack::tag::TimeTrackingTag;
|
||||
use libimagentrytimetrack::timetrackingstore::*;
|
||||
use libimagentrytimetrack::iter::get::GetTimeTrackIter;
|
||||
use libimagentrytimetrack::iter::filter::has_end_time;
|
||||
use libimagentrytimetrack::iter::filter::has_one_of_tags;
|
||||
use libimagtimetrack::timetracking::TimeTracking;
|
||||
use libimagtimetrack::tag::TimeTrackingTag;
|
||||
use libimagtimetrack::timetrackingstore::*;
|
||||
use libimagtimetrack::iter::get::GetTimeTrackIter;
|
||||
use libimagtimetrack::iter::filter::has_end_time;
|
||||
use libimagtimetrack::iter::filter::has_one_of_tags;
|
||||
|
||||
pub fn stop(rt: &Runtime) -> i32 {
|
||||
let (_, cmd) = rt.cli().subcommand();
|
|
@ -24,8 +24,8 @@ use chrono::naive::NaiveDateTime;
|
|||
|
||||
use libimagrt::runtime::Runtime;
|
||||
use libimagerror::trace::trace_error;
|
||||
use libimagentrytimetrack::tag::TimeTrackingTag;
|
||||
use libimagentrytimetrack::timetrackingstore::TimeTrackStore;
|
||||
use libimagtimetrack::tag::TimeTrackingTag;
|
||||
use libimagtimetrack::timetrackingstore::TimeTrackStore;
|
||||
use libimagerror::trace::MapErrTrace;
|
||||
|
||||
pub fn track(rt: &Runtime) -> i32 {
|
|
@ -31,10 +31,10 @@ use libimagerror::trace::trace_error;
|
|||
use libimagerror::trace::MapErrTrace;
|
||||
use libimagerror::iter::TraceIterator;
|
||||
use libimagstore::store::FileLockEntry;
|
||||
use libimagentrytimetrack::timetrackingstore::TimeTrackStore;
|
||||
use libimagentrytimetrack::timetracking::TimeTracking;
|
||||
use libimagentrytimetrack::tag::TimeTrackingTag;
|
||||
use libimagentrytimetrack::iter::filter::*;
|
||||
use libimagtimetrack::timetrackingstore::TimeTrackStore;
|
||||
use libimagtimetrack::timetracking::TimeTracking;
|
||||
use libimagtimetrack::tag::TimeTrackingTag;
|
||||
use libimagtimetrack::iter::filter::*;
|
||||
|
||||
use libimagrt::runtime::Runtime;
|
||||
|
|
@ -31,10 +31,10 @@ use libimagerror::trace::trace_error;
|
|||
use libimagerror::trace::MapErrTrace;
|
||||
use libimagerror::iter::TraceIterator;
|
||||
use libimagstore::store::FileLockEntry;
|
||||
use libimagentrytimetrack::timetrackingstore::TimeTrackStore;
|
||||
use libimagentrytimetrack::timetracking::TimeTracking;
|
||||
use libimagentrytimetrack::tag::TimeTrackingTag;
|
||||
use libimagentrytimetrack::iter::filter::*;
|
||||
use libimagtimetrack::timetrackingstore::TimeTrackStore;
|
||||
use libimagtimetrack::timetracking::TimeTracking;
|
||||
use libimagtimetrack::tag::TimeTrackingTag;
|
||||
use libimagtimetrack::iter::filter::*;
|
||||
|
||||
use libimagrt::runtime::Runtime;
|
||||
|
|
@ -25,7 +25,7 @@ toml-query = "0.3.*"
|
|||
is-match = "0.1.*"
|
||||
version = "2.0.1"
|
||||
|
||||
libimagrt = { version = "0.4.0", path = "../libimagrt" }
|
||||
libimagstore = { version = "0.4.0", path = "../libimagstore" }
|
||||
libimagtodo = { version = "0.4.0", path = "../libimagtodo" }
|
||||
libimagerror = { version = "0.4.0", path = "../libimagerror" }
|
||||
libimagrt = { version = "0.4.0", path = "../../../lib/core/libimagrt" }
|
||||
libimagstore = { version = "0.4.0", path = "../../../lib/core/libimagstore" }
|
||||
libimagerror = { version = "0.4.0", path = "../../../lib/core/libimagerror" }
|
||||
libimagtodo = { version = "0.4.0", path = "../../../lib/domain/libimagtodo" }
|
1
bin/domain/imag-todo/README.md
Symbolic link
1
bin/domain/imag-todo/README.md
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../../doc/src/04020-module-todo.md
|
|
@ -1,4 +1,4 @@
|
|||
## libimagannotation
|
||||
## libimagentryannotation
|
||||
|
||||
This library provides annotation functionality for entries.
|
||||
|
4
doc/src/05100-lib-entrycategory.md
Normal file
4
doc/src/05100-lib-entrycategory.md
Normal file
|
@ -0,0 +1,4 @@
|
|||
## libimagentrycategory
|
||||
|
||||
This library provides category functionality for entries.
|
||||
|
4
doc/src/05100-lib-entrydatetime.md
Normal file
4
doc/src/05100-lib-entrydatetime.md
Normal file
|
@ -0,0 +1,4 @@
|
|||
## libimagentrydatetime
|
||||
|
||||
Provides date/time functionality for entries.
|
||||
|
4
doc/src/05100-lib-entryedit.md
Normal file
4
doc/src/05100-lib-entryedit.md
Normal file
|
@ -0,0 +1,4 @@
|
|||
## libimagentryedit
|
||||
|
||||
Provides edit (as in spawning an `$EDITOR`) functionality for entries.
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
## libimagref
|
||||
## libimagentryref
|
||||
|
||||
This library crate contains functionality to generate _references_ within the
|
||||
imag store.
|
5
doc/src/05100-lib-entryview.md
Normal file
5
doc/src/05100-lib-entryview.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
## libimagentryview
|
||||
|
||||
Provides viewing (as in piping to stdout, opening in `$EDITOR` or in `$BROWSER`)
|
||||
functionality for entries.
|
||||
|
|
@ -1 +0,0 @@
|
|||
../doc/src/04020-module-bookmarks.md
|
|
@ -1 +0,0 @@
|
|||
../doc/src/04020-module-counter.md
|
|
@ -1,30 +0,0 @@
|
|||
[package]
|
||||
name = "imag-diary"
|
||||
version = "0.4.0"
|
||||
authors = ["Matthias Beyer <mail@beyermatthias.de>"]
|
||||
|
||||
description = "Part of the imag core distribution: imag-diary command"
|
||||
|
||||
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]
|
||||
chrono = "0.4"
|
||||
version = "2.0"
|
||||
clap = "2.*"
|
||||
log = "0.3"
|
||||
|
||||
libimagrt = { version = "0.4.0", path = "../libimagrt" }
|
||||
libimagdiary = { version = "0.4.0", path = "../libimagdiary" }
|
||||
libimagentryedit = { version = "0.4.0", path = "../libimagentryedit" }
|
||||
libimagentrylist = { version = "0.4.0", path = "../libimagentrylist" }
|
||||
libimagerror = { version = "0.4.0", path = "../libimagerror" }
|
||||
libimaginteraction = { version = "0.4.0", path = "../libimaginteraction" }
|
||||
libimagutil = { version = "0.4.0", path = "../libimagutil" }
|
||||
libimagstore = { version = "0.4.0", path = "../libimagstore" }
|
||||
libimagtimeui = { version = "0.4.0", path = "../libimagtimeui" }
|
|
@ -1 +0,0 @@
|
|||
../doc/src/04020-module-diary.md
|
|
@ -1 +0,0 @@
|
|||
../doc/src/04020-module-link.md
|
|
@ -1,24 +0,0 @@
|
|||
[package]
|
||||
name = "imag-mail"
|
||||
version = "0.4.0"
|
||||
authors = ["Matthias Beyer <mail@beyermatthias.de>"]
|
||||
|
||||
description = "Part of the imag core distribution: imag-notes command"
|
||||
|
||||
keywords = ["imag", "PIM", "personal", "information", "management"]
|
||||
readme = "../README.md"
|
||||
license = "LGPL-2.1"
|
||||
|
||||
[dependencies]
|
||||
semver = "0.5"
|
||||
clap = "2.*"
|
||||
log = "0.3"
|
||||
version = "2.0.1"
|
||||
toml = "0.4.*"
|
||||
url = "1.2"
|
||||
|
||||
libimagrt = { version = "0.4.0", path = "../libimagrt" }
|
||||
libimagmail = { version = "0.4.0", path = "../libimagmail" }
|
||||
libimagerror = { version = "0.4.0", path = "../libimagerror" }
|
||||
libimagutil = { version = "0.4.0", path = "../libimagutil" }
|
||||
libimagref = { version = "0.4.0", path = "../libimagref" }
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue