summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2016-10-31 23:39:38 +0100
committerGitHub <noreply@github.com>2016-10-31 23:39:38 +0100
commit0a040815993803defe79749786adbd01f40b79b2 (patch)
tree5c404fb2035ed818feb933ddfdb2306a9ea21d4f
parentfa64c2d27dc4b9afbfa7d077ed7821e7688e0339 (diff)
parentdfa38962e3c3df350b0603b97076ba1c22cef626 (diff)
downloadimag-0a040815993803defe79749786adbd01f40b79b2.zip
imag-0a040815993803defe79749786adbd01f40b79b2.tar.gz
Merge pull request #656 from matthiasbeyer/cargo-rustc-codegen-units
Cargo rustc codegen units
-rw-r--r--.imag-documentation/Cargo.toml3
-rw-r--r--.travis.yml1
-rw-r--r--bin/Cargo.toml3
-rw-r--r--imag-bookmark/Cargo.toml3
-rw-r--r--imag-counter/Cargo.toml3
-rw-r--r--imag-diary/Cargo.toml3
-rw-r--r--imag-link/Cargo.toml3
-rw-r--r--imag-notes/Cargo.toml3
-rw-r--r--imag-ref/Cargo.toml3
-rw-r--r--imag-store/Cargo.toml3
-rw-r--r--imag-tag/Cargo.toml3
-rw-r--r--imag-todo/Cargo.toml3
-rw-r--r--imag-view/Cargo.toml3
-rw-r--r--libimagbookmark/Cargo.toml3
-rw-r--r--libimagcounter/Cargo.toml3
-rw-r--r--libimagdiary/Cargo.toml3
-rw-r--r--libimagentryfilter/Cargo.toml3
-rw-r--r--libimagentrylink/Cargo.toml3
-rw-r--r--libimagentrylist/Cargo.toml3
-rw-r--r--libimagentrymarkdown/Cargo.toml3
-rw-r--r--libimagentrytag/Cargo.toml3
-rw-r--r--libimagentryview/Cargo.toml3
-rw-r--r--libimagerror/Cargo.toml3
-rw-r--r--libimaginteraction/Cargo.toml3
-rw-r--r--libimagnotes/Cargo.toml3
-rw-r--r--libimagref/Cargo.toml3
-rw-r--r--libimagrt/Cargo.toml3
-rw-r--r--libimagstore/Cargo.toml3
-rw-r--r--libimagstorestdhook/Cargo.toml3
-rw-r--r--libimagtimeui/Cargo.toml3
-rw-r--r--libimagtodo/Cargo.toml3
-rw-r--r--libimagutil/Cargo.toml3
32 files changed, 94 insertions, 0 deletions
diff --git a/.imag-documentation/Cargo.toml b/.imag-documentation/Cargo.toml
index 5807018..217538f 100644
--- a/.imag-documentation/Cargo.toml
+++ b/.imag-documentation/Cargo.toml
@@ -13,6 +13,9 @@ documentation = "https://matthiasbeyer.github.io/imag/imag_documentation/index.h
repository = "https://github.com/matthiasbeyer/imag"
homepage = "http://imag-pim.org"
+[profile.dev]
+codegen-units = 2
+
[dependencies]
[dependencies.libimagbookmark]
diff --git a/.travis.yml b/.travis.yml
index 365c997..e7098cb 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -20,6 +20,7 @@ before_script:
export PATH=$HOME/.local/bin:$PATH
script:
- |
+ export RUSTFLAGS="-C codegen-units=2"
if [[ "$TEST_SUITE" == "binaries" ]]; then
make bin-test
else # $TEST_SUITE == "libraries"
diff --git a/bin/Cargo.toml b/bin/Cargo.toml
index f49197c..3c02cd6 100644
--- a/bin/Cargo.toml
+++ b/bin/Cargo.toml
@@ -13,6 +13,9 @@ documentation = "https://matthiasbeyer.github.io/imag/imag_documentation/index.h
repository = "https://github.com/matthiasbeyer/imag"
homepage = "http://imag-pim.org"
+[profile.dev]
+codegen-units = 2
+
[dependencies]
version = "2.0"
walkdir = "0.1"
diff --git a/imag-bookmark/Cargo.toml b/imag-bookmark/Cargo.toml
index 61970c3..3d3a18c 100644
--- a/imag-bookmark/Cargo.toml
+++ b/imag-bookmark/Cargo.toml
@@ -13,6 +13,9 @@ documentation = "https://matthiasbeyer.github.io/imag/imag_documentation/index.h
repository = "https://github.com/matthiasbeyer/imag"
homepage = "http://imag-pim.org"
+[profile.dev]
+codegen-units = 2
+
[dependencies]
clap = "2.*"
log = "0.3"
diff --git a/imag-counter/Cargo.toml b/imag-counter/Cargo.toml
index 138cd5c..1c7968b 100644
--- a/imag-counter/Cargo.toml
+++ b/imag-counter/Cargo.toml
@@ -13,6 +13,9 @@ documentation = "https://matthiasbeyer.github.io/imag/imag_documentation/index.h
repository = "https://github.com/matthiasbeyer/imag"
homepage = "http://imag-pim.org"
+[profile.dev]
+codegen-units = 2
+
[dependencies]
clap = "2.*"
log = "0.3"
diff --git a/imag-diary/Cargo.toml b/imag-diary/Cargo.toml
index 0ec869a..f0a7568 100644
--- a/imag-diary/Cargo.toml
+++ b/imag-diary/Cargo.toml
@@ -13,6 +13,9 @@ documentation = "https://matthiasbeyer.github.io/imag/imag_documentation/index.h
repository = "https://github.com/matthiasbeyer/imag"
homepage = "http://imag-pim.org"
+[profile.dev]
+codegen-units = 2
+
[dependencies]
chrono = "0.2"
version = "2.0"
diff --git a/imag-link/Cargo.toml b/imag-link/Cargo.toml
index d515395..bb5ad61 100644
--- a/imag-link/Cargo.toml
+++ b/imag-link/Cargo.toml
@@ -13,6 +13,9 @@ documentation = "https://matthiasbeyer.github.io/imag/imag_documentation/index.h
repository = "https://github.com/matthiasbeyer/imag"
homepage = "http://imag-pim.org"
+[profile.dev]
+codegen-units = 2
+
[dependencies]
semver = "0.5.1"
clap = "2.*"
diff --git a/imag-notes/Cargo.toml b/imag-notes/Cargo.toml
index 0656c2e..39ec0f7 100644
--- a/imag-notes/Cargo.toml
+++ b/imag-notes/Cargo.toml
@@ -13,6 +13,9 @@ documentation = "https://matthiasbeyer.github.io/imag/imag_documentation/index.h
repository = "https://github.com/matthiasbeyer/imag"
homepage = "http://imag-pim.org"
+[profile.dev]
+codegen-units = 2
+
[dependencies]
semver = "0.2.1"
clap = "2.*"
diff --git a/imag-ref/Cargo.toml b/imag-ref/Cargo.toml
index c23cd63..1e5fb9e 100644
--- a/imag-ref/Cargo.toml
+++ b/imag-ref/Cargo.toml
@@ -13,6 +13,9 @@ documentation = "https://matthiasbeyer.github.io/imag/imag_documentation/index.h
repository = "https://github.com/matthiasbeyer/imag"
homepage = "http://imag-pim.org"
+[profile.dev]
+codegen-units = 2
+
[dependencies]
semver = "0.5.1"
clap = "2.*"
diff --git a/imag-store/Cargo.toml b/imag-store/Cargo.toml
index f173fc7..c23a020 100644
--- a/imag-store/Cargo.toml
+++ b/imag-store/Cargo.toml
@@ -13,6 +13,9 @@ documentation = "https://matthiasbeyer.github.io/imag/imag_documentation/index.h
repository = "https://github.com/matthiasbeyer/imag"
homepage = "http://imag-pim.org"
+[profile.dev]
+codegen-units = 2
+
[dependencies]
clap = "2.*"
log = "0.3"
diff --git a/imag-tag/Cargo.toml b/imag-tag/Cargo.toml
index 7330e2e..88a97b9 100644
--- a/imag-tag/Cargo.toml
+++ b/imag-tag/Cargo.toml
@@ -13,6 +13,9 @@ documentation = "https://matthiasbeyer.github.io/imag/imag_documentation/index.h
repository = "https://github.com/matthiasbeyer/imag"
homepage = "http://imag-pim.org"
+[profile.dev]
+codegen-units = 2
+
[dependencies]
clap = "2.*"
log = "0.3"
diff --git a/imag-todo/Cargo.toml b/imag-todo/Cargo.toml
index 31993f0..320cfea 100644
--- a/imag-todo/Cargo.toml
+++ b/imag-todo/Cargo.toml
@@ -13,6 +13,9 @@ documentation = "https://matthiasbeyer.github.io/imag/imag_documentation/index.h
repository = "https://github.com/matthiasbeyer/imag"
homepage = "http://imag-pim.org"
+[profile.dev]
+codegen-units = 2
+
[dependencies]
clap = "2.*"
glob = "0.2.11"
diff --git a/imag-view/Cargo.toml b/imag-view/Cargo.toml
index ce0591c..a1f5e60 100644
--- a/imag-view/Cargo.toml
+++ b/imag-view/Cargo.toml
@@ -13,6 +13,9 @@ documentation = "https://matthiasbeyer.github.io/imag/imag_documentation/index.h
repository = "https://github.com/matthiasbeyer/imag"
homepage = "http://imag-pim.org"
+[profile.dev]
+codegen-units = 2
+
[dependencies]
clap = "2.*"
log = "0.3"
diff --git a/libimagbookmark/Cargo.toml b/libimagbookmark/Cargo.toml
index 0c50403..d30bcc0 100644
--- a/libimagbookmark/Cargo.toml
+++ b/libimagbookmark/Cargo.toml
@@ -13,6 +13,9 @@ documentation = "https://matthiasbeyer.github.io/imag/imag_documentation/index.h
repository = "https://github.com/matthiasbeyer/imag"
homepage = "http://imag-pim.org"
+[profile.dev]
+codegen-units = 2
+
[dependencies]
log = "0.3"
semver = "0.5"
diff --git a/libimagcounter/Cargo.toml b/libimagcounter/Cargo.toml
index 0551b42..7478540 100644
--- a/libimagcounter/Cargo.toml
+++ b/libimagcounter/Cargo.toml
@@ -13,6 +13,9 @@ documentation = "https://matthiasbeyer.github.io/imag/imag_documentation/index.h
repository = "https://github.com/matthiasbeyer/imag"
homepage = "http://imag-pim.org"
+[profile.dev]
+codegen-units = 2
+
[dependencies]
log = "0.3"
toml = "0.2.*"
diff --git a/libimagdiary/Cargo.toml b/libimagdiary/Cargo.toml
index ec9f02a..db238f0 100644
--- a/libimagdiary/Cargo.toml
+++ b/libimagdiary/Cargo.toml
@@ -13,6 +13,9 @@ documentation = "https://matthiasbeyer.github.io/imag/imag_documentation/index.h
repository = "https://github.com/matthiasbeyer/imag"
homepage = "http://imag-pim.org"
+[profile.dev]
+codegen-units = 2
+
[dependencies]
chrono = "0.2"
log = "0.3"
diff --git a/libimagentryfilter/Cargo.toml b/libimagentryfilter/Cargo.toml
index fd320a5..6f09033 100644
--- a/libimagentryfilter/Cargo.toml
+++ b/libimagentryfilter/Cargo.toml
@@ -13,6 +13,9 @@ documentation = "https://matthiasbeyer.github.io/imag/imag_documentation/index.h
repository = "https://github.com/matthiasbeyer/imag"
homepage = "http://imag-pim.org"
+[profile.dev]
+codegen-units = 2
+
[dependencies]
clap = "2.*"
filters = "0.1.*"
diff --git a/libimagentrylink/Cargo.toml b/libimagentrylink/Cargo.toml
index 69fa4f5..9394beb 100644
--- a/libimagentrylink/Cargo.toml
+++ b/libimagentrylink/Cargo.toml
@@ -13,6 +13,9 @@ documentation = "https://matthiasbeyer.github.io/imag/imag_documentation/index.h
repository = "https://github.com/matthiasbeyer/imag"
homepage = "http://imag-pim.org"
+[profile.dev]
+codegen-units = 2
+
[dependencies]
itertools = "0.4"
log = "0.3"
diff --git a/libimagentrylist/Cargo.toml b/libimagentrylist/Cargo.toml
index 794cd81..0f7a73d 100644
--- a/libimagentrylist/Cargo.toml
+++ b/libimagentrylist/Cargo.toml
@@ -13,6 +13,9 @@ documentation = "https://matthiasbeyer.github.io/imag/imag_documentation/index.h
repository = "https://github.com/matthiasbeyer/imag"
homepage = "http://imag-pim.org"
+[profile.dev]
+codegen-units = 2
+
[dependencies]
clap = "2.*"
log = "0.3"
diff --git a/libimagentrymarkdown/Cargo.toml b/libimagentrymarkdown/Cargo.toml
index 6893a11..914dcfe 100644
--- a/libimagentrymarkdown/Cargo.toml
+++ b/libimagentrymarkdown/Cargo.toml
@@ -13,6 +13,9 @@ documentation = "https://matthiasbeyer.github.io/imag/imag_documentation/index.h
repository = "https://github.com/matthiasbeyer/imag"
homepage = "http://imag-pim.org"
+[profile.dev]
+codegen-units = 2
+
[dependencies]
log = "0.3"
hoedown = "5.0.0"
diff --git a/libimagentrytag/Cargo.toml b/libimagentrytag/Cargo.toml
index baee962..f7f4458 100644
--- a/libimagentrytag/Cargo.toml
+++ b/libimagentrytag/Cargo.toml
@@ -13,6 +13,9 @@ documentation = "https://matthiasbeyer.github.io/imag/imag_documentation/index.h
repository = "https://github.com/matthiasbeyer/imag"
homepage = "http://imag-pim.org"
+[profile.dev]
+codegen-units = 2
+
[dependencies]
clap = "2.*"
log = "0.3"
diff --git a/libimagentryview/Cargo.toml b/libimagentryview/Cargo.toml
index f29d611..8bf7e59 100644
--- a/libimagentryview/Cargo.toml
+++ b/libimagentryview/Cargo.toml
@@ -13,6 +13,9 @@ documentation = "https://matthiasbeyer.github.io/imag/imag_documentation/index.h
repository = "https://github.com/matthiasbeyer/imag"
homepage = "http://imag-pim.org"
+[profile.dev]
+codegen-units = 2
+
[dependencies]
log = "0.3"
toml = "0.2.*"
diff --git a/libimagerror/Cargo.toml b/libimagerror/Cargo.toml
index d1394bd..2930f5c 100644
--- a/libimagerror/Cargo.toml
+++ b/libimagerror/Cargo.toml
@@ -13,6 +13,9 @@ documentation = "https://matthiasbeyer.github.io/imag/imag_documentation/index.h
repository = "https://github.com/matthiasbeyer/imag"
homepage = "http://imag-pim.org"
+[profile.dev]
+codegen-units = 2
+
[dependencies]
log = "0.3"
ansi_term = "0.9"
diff --git a/libimaginteraction/Cargo.toml b/libimaginteraction/Cargo.toml
index e6a4a2e..044fe9b 100644
--- a/libimaginteraction/Cargo.toml
+++ b/libimaginteraction/Cargo.toml
@@ -13,6 +13,9 @@ documentation = "https://matthiasbeyer.github.io/imag/imag_documentation/index.h
repository = "https://github.com/matthiasbeyer/imag"
homepage = "http://imag-pim.org"
+[profile.dev]
+codegen-units = 2
+
[dependencies]
ansi_term = "0.9.*"
clap = "2.*"
diff --git a/libimagnotes/Cargo.toml b/libimagnotes/Cargo.toml
index 36d8e13..357d553 100644
--- a/libimagnotes/Cargo.toml
+++ b/libimagnotes/Cargo.toml
@@ -13,6 +13,9 @@ documentation = "https://matthiasbeyer.github.io/imag/imag_documentation/index.h
repository = "https://github.com/matthiasbeyer/imag"
homepage = "http://imag-pim.org"
+[profile.dev]
+codegen-units = 2
+
[dependencies]
semver = "0.5"
log = "0.3"
diff --git a/libimagref/Cargo.toml b/libimagref/Cargo.toml
index e1d749f..df218e4 100644
--- a/libimagref/Cargo.toml
+++ b/libimagref/Cargo.toml
@@ -13,6 +13,9 @@ documentation = "https://matthiasbeyer.github.io/imag/imag_documentation/index.h
repository = "https://github.com/matthiasbeyer/imag"
homepage = "http://imag-pim.org"
+[profile.dev]
+codegen-units = 2
+
[dependencies]
itertools = "0.5"
log = "0.3"
diff --git a/libimagrt/Cargo.toml b/libimagrt/Cargo.toml
index d72d173..129362d 100644
--- a/libimagrt/Cargo.toml
+++ b/libimagrt/Cargo.toml
@@ -13,6 +13,9 @@ documentation = "https://matthiasbeyer.github.io/imag/imag_documentation/index.h
repository = "https://github.com/matthiasbeyer/imag"
homepage = "http://imag-pim.org"
+[profile.dev]
+codegen-units = 2
+
[dependencies]
clap = "2.*"
env_logger = "0.3"
diff --git a/libimagstore/Cargo.toml b/libimagstore/Cargo.toml
index 53c2395..9a55173 100644
--- a/libimagstore/Cargo.toml
+++ b/libimagstore/Cargo.toml
@@ -13,6 +13,9 @@ documentation = "https://matthiasbeyer.github.io/imag/imag_documentation/index.h
repository = "https://github.com/matthiasbeyer/imag"
homepage = "http://imag-pim.org"
+[profile.dev]
+codegen-units = 2
+
[dependencies]
fs2 = "0.3"
glob = "0.2.11"
diff --git a/libimagstorestdhook/Cargo.toml b/libimagstorestdhook/Cargo.toml
index 483fa1c..82c286c 100644
--- a/libimagstorestdhook/Cargo.toml
+++ b/libimagstorestdhook/Cargo.toml
@@ -13,6 +13,9 @@ documentation = "https://matthiasbeyer.github.io/imag/imag_documentation/index.h
repository = "https://github.com/matthiasbeyer/imag"
homepage = "http://imag-pim.org"
+[profile.dev]
+codegen-units = 2
+
[dependencies]
toml = "0.2.*"
log = "0.3"
diff --git a/libimagtimeui/Cargo.toml b/libimagtimeui/Cargo.toml
index 8f07c24..b59a16a 100644
--- a/libimagtimeui/Cargo.toml
+++ b/libimagtimeui/Cargo.toml
@@ -13,6 +13,9 @@ documentation = "https://matthiasbeyer.github.io/imag/imag_documentation/index.h
repository = "https://github.com/matthiasbeyer/imag"
homepage = "http://imag-pim.org"
+[profile.dev]
+codegen-units = 2
+
[dependencies]
clap = "2.*"
lazy_static = "0.2"
diff --git a/libimagtodo/Cargo.toml b/libimagtodo/Cargo.toml
index 7b2c913..d46edd3 100644
--- a/libimagtodo/Cargo.toml
+++ b/libimagtodo/Cargo.toml
@@ -13,6 +13,9 @@ documentation = "https://matthiasbeyer.github.io/imag/imag_documentation/index.h
repository = "https://github.com/matthiasbeyer/imag"
homepage = "http://imag-pim.org"
+[profile.dev]
+codegen-units = 2
+
[dependencies]
semver = "0.2"
task-hookrs = "0.2.2"
diff --git a/libimagutil/Cargo.toml b/libimagutil/Cargo.toml
index 7b37d19..2f7c392 100644
--- a/libimagutil/Cargo.toml
+++ b/libimagutil/Cargo.toml
@@ -13,6 +13,9 @@ documentation = "https://matthiasbeyer.github.io/imag/imag_documentation/index.h
repository = "https://github.com/matthiasbeyer/imag"
homepage = "http://imag-pim.org"
+[profile.dev]
+codegen-units = 2
+
[dependencies]
url = "1.2"
boolinator = "2.4.0"