diff options
author | Mike Gerwitz <mike.gerwitz@ryansg.com> | 2021-09-28 14:52:31 -0400 |
---|---|---|
committer | Mike Gerwitz <mike.gerwitz@ryansg.com> | 2021-09-28 14:52:53 -0400 |
commit | 6864fbc1cd647228367304716c567af27089fbcd (patch) | |
tree | 6825040558e65bf7ea80b16becc7300238b1cd63 /tamer/Cargo.lock | |
parent | 863d990cbd9a01f986c7418934f78b84dc310651 (diff) | |
download | tame-6864fbc1cd647228367304716c567af27089fbcd.tar.gz tame-6864fbc1cd647228367304716c567af27089fbcd.tar.bz2 tame-6864fbc1cd647228367304716c567af27089fbcd.zip |
tamer: Start of XIR-based xmle writer
This has been a long time coming, and has been repeatedly stashed as other
parts of the system have evolved to support it. The introduction of the XIR
tree was to write tests for this (which are sloppy atm).
This currently writes out the `xmle` header and _most_ of the `l:dep`
section; it's missing the object-type-specific attributes. There is,
relatively speaking, not much more work to do here.
The feature flag `wip-xir-xmle-writer` was introduced to toggle this system
in place of `XmleWriter`. Initial benchmarks show that it will be
competitive with the quick-xml-based writer, but remember that is not the
goal: the purpose of this is to test XIR in a production system before we
continue to implement it for a frontend, and to refactor so that we do not
have multiple implementations writing XML files (once we echo the source XML
files).
I'm excited to get this done with so that I can move on. This has been
rather exhausting.
Diffstat (limited to 'tamer/Cargo.lock')
-rw-r--r-- | tamer/Cargo.lock | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tamer/Cargo.lock b/tamer/Cargo.lock index cec76ff..d895f5a 100644 --- a/tamer/Cargo.lock +++ b/tamer/Cargo.lock @@ -12,6 +12,12 @@ dependencies = [ ] [[package]] +name = "arrayvec" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "be4dc07131ffa69b8072d35f5007352af944213cde02545e2103680baed38fcd" + +[[package]] name = "assert_cmd" version = "0.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -302,6 +308,7 @@ dependencies = [ name = "tamer" version = "0.0.0" dependencies = [ + "arrayvec", "assert_cmd", "bumpalo", "exitcode", |