5e1b720cb7
Remove unneeded Keyword "mut"
2016-01-05 16:42:14 +01:00
d6bd011d95
Add try!() around write!()
2015-12-30 23:02:05 +01:00
3a7bf9f4de
Add doc to parser code
2015-12-29 18:20:56 +01:00
248b5c7574
Merge branch 'debug'
2015-12-28 21:55:08 +01:00
8145b21404
Fix: Parser::write() can get reference tuple
2015-12-28 00:29:45 +01:00
dd7b412976
Remove code
2015-12-21 19:20:09 +01:00
3212429c9e
Impl Debug for Parser
2015-12-19 11:47:24 +01:00
d5af28d98d
Impl {Display,Debug} for JsonHeaderParser
2015-12-19 11:47:24 +01:00
188aacad75
Move FileHeader{Spec,Data} to own submodules
2015-12-06 13:09:51 +01:00
230d00f35a
Remove unused imports
2015-12-05 01:23:06 +01:00
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