Commit graph

21 commits

Author SHA1 Message Date
f7a92b6e79 Resort "use"
First comes std stuff
Second is external crates
Then we have own modules

All in alphabetical order and as few lines as possible if readability is
preserved.
2015-12-05 01:14:13 +01:00
2dfb76bd0d Reimplement: Parser::divide_text() 2015-12-04 21:56:48 +01:00
b6c1a6301f Use ParserError::with_cause() and build new ParserError object 2015-12-04 21:56:48 +01:00
3a76c05317 ParserError: Add cause 2015-12-04 21:56:47 +01:00
1aaea39b3d storage/parser::divide_text(): Add debug output 2015-12-04 21:56:33 +01:00
e72c1c68b9 Fix: Output formatting
The header-content separator dashes were completely missing. Shame on
me.
2015-12-04 21:56:33 +01:00
2dce3151bd Remove default impl for Error for ParserError 2015-12-04 17:52:30 +01:00
d9019e408e Remove static livetime in ParserError::short() 2015-12-04 17:51:22 +01:00
2a468059aa parser: Remove livetimes 2015-12-02 11:28:21 +01:00
9edad2800f Add debugging output in storage parser code 2015-11-27 22:18:26 +01:00
616e0b789b Make Parser::write() public 2015-11-24 10:27:34 +01:00
159b363d58 Remove the concept of DataParser and Abstract Data types
We use String as type for Data, so we don't have problems with parsing
things and the whole templating foo in the parser gets a lot simpler.
2015-11-10 20:31:05 +01:00
e8e82f6844 Make functions public 2015-11-09 18:35:07 +01:00
fd35a00381 Implement JSON to FileHeaderData parser 2015-11-09 18:35:07 +01:00
d260ef20e3 Minify Parser.write() 2015-11-07 23:39:53 +01:00
44994487c6 Minify Parser.read() 2015-11-07 23:39:47 +01:00
2c940d0ca8 Add missing "pub" 2015-11-07 23:39:39 +01:00
850b4579a8 Add type "File" to load a file from disk 2015-11-07 23:39:30 +01:00
d54825de6b Move divide_text() into scope of impl Parser 2015-10-30 15:23:29 +01:00
b6d52b2616 Implement: Error, Debug, Display for ParserError 2015-10-30 15:22:11 +01:00
589844102d Move parser code out of file.rs 2015-10-30 14:48:45 +01:00