Matthias Beyer
18e806f588
Remove dedicated result modules, use error chain generated Result types
2017-09-04 09:19:29 +02:00
Matthias Beyer
eefcfd02dc
Allow generated fns from macros to be unused
2017-09-03 22:01:40 +02:00
Matthias Beyer
7ce44e8090
Remove "IntoError" trait, use error_chain functionality
2017-09-03 21:34:07 +02:00
Matthias Beyer
ac34b4ee66
libimaginteraction: Rewrite error handling
2017-09-03 21:33:54 +02:00
Matthias Beyer
603808a9fa
Impl IntoError for error kinds
2017-09-03 15:42:06 +02:00
Matthias Beyer
a309fdb280
Add recursion limits to crates
2017-09-03 15:42:06 +02:00
Matthias Beyer
11d881d3a9
Add dependency to crates: error_chain = 0.10
2017-09-03 15:42:06 +02:00
Matthias Beyer
e77d353c52
Rewrite macros to do error-chain behind the scenes
2017-09-03 15:42:03 +02:00
Matthias Beyer
5626a365c6
Merge pull request #1044 from matthiasbeyer/libimagrt/feature-testing
...
Add store extraction to Runtime
2017-09-02 17:25:13 +02:00
Matthias Beyer
ab06263507
Add store extraction to Runtime
...
This is necessary to be able to re-build a Runtime object with an new
set of "commandline arguments". For example if a test wants to test two
calls to imag, for example a "add" operation followed by a "remove" operation.
These functions are feature-gated therefor and should only be used in
tests.
2017-09-02 10:42:11 +02:00
Matthias Beyer
b32245b03a
Bugfix: Fix macro to use the appname instead of hardcoded values
2017-09-02 10:41:38 +02:00
Matthias Beyer
048517a3c2
Fix readme links in cargo metadata
2017-09-01 18:48:02 +02:00
Matthias Beyer
ae5255c7c7
Remove unused crate imports
...
This patch removes unused crate imports reported by newer rust versions.
Some crates were only required for tests, some only for tests with
macro_import - these things were fixed with feature gates.
2017-08-31 10:56:15 +02:00
Matthias Beyer
d0f8002682
Ensure deny() for warnings is in all crates
2017-08-27 20:08:03 +02:00
Matthias Beyer
59a3662ac4
Reorganize code in subdirs
2017-08-27 15:12:09 +02:00