Commit graph

14 commits

Author SHA1 Message Date
Bastien Orivel
9cec9fce9b Replace xml-rs by quick_xml
quick_xml is way faster than xml-rs

Here is an example with a quick atom parser:
    With xml-rs:
        test parse_factorio_atom ... bench:   3,295,678 ns/iter (+/- 165,851)
    With quick_xml:
        test parse_factorio_atom ... bench:     203,215 ns/iter (+/- 13,485)

Unfortunately I had to break the API for this change to happen.
* Element::from_reader now takes `R: BufRead` instead of `R: Read`
* Element::write_to now takes `W: io::Write` instead of `EventWriter<W: Write>`

This migration also allow us to have a write_to function which assumes
we're already in a given namespace (see `write_to_in_namespace`).
2017-06-10 17:17:19 +02:00
lumi
d6a9e6e9ea implement ToAttributeValue on integral types, bump version 2017-05-28 00:25:57 +02:00
lumi
4166751828 bump version to 0.4.2 2017-05-28 00:02:26 +02:00
lumi
9d45230c17 should re-export more things under the error module 2017-05-22 19:30:52 +02:00
lumi
508c971416 port error.rs to error_chain, bump version to 0.4.0 2017-05-22 19:20:01 +02:00
lumi
6323529cd7 bump version to 0.3.3 2017-05-22 18:50:43 +02:00
lumi
f6ad64c910 now at version 0.3.2 2017-05-22 16:09:04 +02:00
lumi
cb17ca24c1 bump version to 0.3.1 2017-05-19 13:12:46 +02:00
lumi
1bc1437da8 bump version to 0.3.0 2017-05-03 18:37:03 +02:00
Emmanuel Gil Peyrot
154afda327 Bump xml-rs dependency to 0.4.1. 2017-04-27 17:42:00 +01:00
lumi
d54b002243 bump to 2.0.0, switch license to MIT 2017-04-26 01:14:16 +02:00
lumi
112b3fa0c8 added documentation url and fixed a dumb mistake 2017-02-25 15:43:56 +01:00
lumi
a047fdd870 add data to Cargo.toml 2017-02-25 15:31:58 +01:00
lumi
28045361f3 initial commit 2017-02-19 20:46:44 +01:00