Commit graph

36 commits

Author SHA1 Message Date
1c723a9a0e Move trace_error() functionality from libimagutil to libimagerror 2016-05-17 20:28:02 +02:00
f22624302c Make trace() output red 2016-05-15 17:47:01 +02:00
5dd0fa900c Add dependency: ansi_term = 0.7 2016-05-15 17:46:52 +02:00
11021906b3 Merge pull request #401 from matthiasbeyer/libimagutil/code-cleanup
Code cleanup in libimagutil
2016-05-15 13:58:57 +02:00
e66d837642 Remove unneeded scopes 2016-05-14 19:51:24 +02:00
Andre Bogus
981707c9c9 more style adaptations
again following clippy
2016-05-13 22:27:53 +02:00
111c8b73f0 Update log: 0.3.* -> 0.3 2016-05-10 17:54:47 +02:00
f6e59c355e Remove "caused by" marker
As we are in debug mode anyways, a developer using this should know by
the trace number that the next line is the cause.

As we use the debug!() macro here, this would be printed on a new line,
which is rather distracting instead of helpful. Therefor this patch
removes this line.
2016-04-22 15:10:24 +02:00
ad4e73399f Make trace() output a bit nicer 2016-04-21 16:36:13 +02:00
9732c84247 libimagutil Update regex 0.1.x -> 0.1.* 2016-04-17 21:00:31 +02:00
7bcff48286 Enable lints 2016-04-16 22:31:51 +02:00
a636040907 Use unused results by calling write!() with .ok() 2016-04-16 22:31:42 +02:00
4a1fd4230e Merge pull request #270 from matthiasbeyer/libimagutil/trace-newline
Add another missing newline character
2016-03-26 15:29:56 +01:00
0d8184451b Add README for libimagutil 2016-03-25 15:56:42 +01:00
8657d401cb Add another missing newline character 2016-03-25 13:29:59 +01:00
cd6e000be8 trace: Add missing newline 2016-03-12 16:06:10 +01:00
501f4f3111 Merge pull request #203 from matthiasbeyer/libimagutil/ismatch-util
Add ismatch!() macro
2016-03-07 17:22:13 +01:00
03747aa237 util: Update regex = 0.1.54 2016-02-23 13:17:36 +01:00
a429e872e1 Add ismatch!() macro 2016-02-21 11:44:39 +01:00
1b8838bf1f use lazy_static so we do not compile regex multiple times 2016-02-20 21:10:22 +01:00
0a8eaa1411 Add documentation of functions 2016-02-11 15:48:41 +01:00
d8ae741f31 Add error tracing utility 2016-02-11 15:48:41 +01:00
78cda89524 Add dependency: log = 0.3.5 2016-02-11 15:48:39 +01:00
e3daf7c853 tests: Allow quotes in keys 2016-01-29 23:11:42 +01:00
db38713977 Adapt test: single quoted 2016-01-29 23:11:42 +01:00
448c69891e Reimplement IntoKeyValue for String
* Double quotes should not be in the result
* Regex allows quotes in strings now
2016-01-29 23:11:42 +01:00
Marcel Müller
4d28b57658
Remove remaining Cargo.lock files 2016-01-22 20:15:32 +01:00
e86403978d Add getter for key/value 2016-01-20 18:05:09 +01:00
78e104706f Adapt tests 2016-01-20 10:42:40 +01:00
2c5d61c456 Split String->key-value with types 2016-01-20 10:42:34 +01:00
77204c8e22 Add key-value-splitter helper 2016-01-20 09:42:48 +01:00
9b77ae1348 Use regex 2016-01-20 09:42:37 +01:00
29c58a2fa9 Add dep: regex = 0.1.47 2016-01-20 09:42:17 +01:00
6aa9276a06 util: Add variant-tests 2016-01-18 19:14:06 +01:00
be6a0b8b78 util: Add variant-generator utility 2016-01-18 19:14:02 +01:00
d786b5e8d3 Add: libimagutil 2016-01-09 23:50:26 +01:00