2cb46597f7
Add Option extensions for logging optional values
...
This patch adds the same extensions that we already have for
Result<T, E> also for Option<T>.
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-11-09 21:48:26 +01:00
91f5a33f5a
Make "ask" functions get input and output streams
...
This way we can control where the input comes from and the output goes
to (like we want to with libimagrt).
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-11-01 20:30:12 +01:00
7f0d5b8bfd
Do not pass --rtp in test runtime
2018-11-01 13:19:14 +01:00
71086b67d8
Add debug output in test runtime generating macro
2018-11-01 13:18:58 +01:00
1d97e36c93
Add more CLI validators
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-10-31 17:15:29 +01:00
cc503920d0
libimaginteraction: Move from error-chain to failure
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-10-30 18:46:28 +01:00
5627bbe454
libimagnotification: Move from error-chain to failure
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-10-30 18:46:28 +01:00
72add24d87
libimagutil: Move from error-chain to failure
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-10-30 18:46:28 +01:00
388632d7ff
Fix: Do not pass --rtp in testing environment
...
As we run tests in-memory (already for a rather long time), we don't
need to pass this anymore.
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-10-09 17:37:56 +02:00
de4df95e04
Update dependency: regex: 0.2 -> 1
2018-10-06 12:22:15 +02:00
3e22f425b8
Update dependencies
...
ansi_term: 0.10 -> 0.11
regex: 0.2 -> 1
2018-10-06 12:21:20 +02:00
989ca3dba8
Update dependencies: regex: 0.2 -> 1, tempfile: 2 -> 3
2018-10-06 12:21:20 +02:00
1fa9b86531
Update dependency: lazy_static: 0.2 -> 1
2018-09-27 15:05:45 +02:00
e838f0d0e7
Update dependency: handlebars: 0.29.0 -> 1.0
2018-09-27 15:05:45 +02:00
61738ac9ee
Revert "Update dependency: handlebars: 0.29.0 -> 1.0"
...
This reverts commit a1f0872486995b80216e8a08a2176debdef3752a.
As updating handlebars needs some more involvement, we roll back to the
version we use currently and schedule the update for later.
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-09-27 15:05:45 +02:00
abf6a3c384
Update dependency: handlebars: 0.29.0 -> 1.0
2018-09-27 15:05:45 +02:00
0a7afee454
Update dependency: error-chain: 0.11 -> 0.12
2018-09-27 15:05:25 +02:00
664edc7943
Update version string: 0.8.0 -> 0.9.0
2018-05-09 11:39:33 +02:00
67675b2ab2
Remove unecessary clone
2018-04-25 19:13:51 +02:00
a25f650ca0
Be more ergonomic here
2018-04-25 19:13:51 +02:00
84249e3fb5
Be less verbose when constructing an object
...
The rust compiler does some fancy things for us: It automatically finds
the right fields if the name of the variable and the file is the same.
Lets use that to reduce boilerplate with this patch.
2018-04-25 19:13:50 +02:00
154c2e482b
Change generate_variants() helper to use base by ref
2018-04-25 19:13:50 +02:00
42c4186dec
Use or_else() instead of or()
2018-04-25 19:13:50 +02:00
775508a6ed
Refactor: Use AsRef<str> instead of String as arg type
2018-04-24 23:12:14 +02:00
488ce9fe91
Clippy fixes
2018-04-24 23:12:14 +02:00
d2dceb6640
Update version numbers: 0.7.0 -> 0.8.0
2018-04-19 10:05:53 +02:00
4568b1f625
Merge pull request #1380 from matthiasbeyer/minor
...
Minor patches
2018-04-18 16:46:41 +02:00
98f8366e4c
Fix documentation in crate metadata
2018-04-17 15:55:08 +02:00
207346bea0
Add lints
2018-04-14 00:41:31 +02:00
aeec10bf76
Use clap with wrap_help feature
2018-04-13 16:19:10 +02:00
b59c234588
Use clap "^2.29" instead of ">=2.29"
2018-04-13 16:17:43 +02:00
2017874a8b
Add debug output
2018-04-08 20:29:14 +02:00
bcdbb8197a
Use "ui" module in libimagtimeui
2018-03-23 10:05:58 +01:00
30d2c28a22
Update version string: 0.6.0 -> 0.7.0
2018-02-11 14:22:24 +01:00
8656a38c50
Update dependency: clap: 2.17 -> 2.29
2018-02-10 16:40:34 +01:00
9d2900a7dc
Compile clap with suggestions and color support
2018-02-10 16:40:34 +01:00
3b710e082d
Add missing Cargo.toml metadata
2018-02-10 14:11:46 +01:00
d5a9e4930d
Update dates in license header
...
And add missing header in one file
2018-02-07 02:48:53 +01:00
92c04c606c
Refactor to use AsRef<str>
2018-02-01 09:26:33 +01:00
7e53ad9f78
Add datetime <-> string conversion utility
2018-02-01 09:26:33 +01:00
4d94791b1f
Move date <-> string conversion utility to libimagutil
2018-02-01 09:26:33 +01:00
635d000344
log: 0.4.0-rc.1 -> 0.4.0
2018-01-15 11:21:52 +01:00
f209e12410
Update dependency: log: 0.3.* -> 0.4.0-rc.1
2018-01-15 11:20:07 +01:00
40490c10d6
Refactoring: Use function chaining rather than matching
2018-01-05 11:37:09 +01:00
a9135a80fb
Replace matching with command chaining
2018-01-05 11:37:09 +01:00
01bd020419
Remove unused imports
2018-01-04 19:35:35 +01:00
3c8dd19d11
Update version strings: 0.5.0 -> 0.6.0
2017-12-25 19:17:07 +01:00
cf5b4239c4
Update version string
...
Holy crap this should really not happen. We accidentially released this
crate as 0.4.0 instead of 0.5.0.
2017-12-24 13:31:59 +01:00
9ecd1849d7
Fix README path
2017-12-24 13:31:59 +01:00
f0ae628687
Transform to use error-chain
2017-12-23 14:20:46 +01:00