Replies: 1 comment
-
Resolved via arp242/toml-test-matrix#1 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've been working on a TOML test matrix, I'd also like to add this parser, but I need a few small programs for this – this should be very easy, but the last time I used Rust was well before 1.0, and it's not the easiest language to "trial and error" some things together, so it's kinda difficult to create myself 😅
What I would need are:
a
toml-decoder
andtoml-encoder
binary which read from stdin, as described in the toml-test README. This is already implemented as the test harnass, just not as a separate binary which reads from stdin.A simpler binary which just decodes the file from argv[1] and prints how long this took to stdout (excluding reading the file) – this is used for the benchmark. In Python this is:
Neither need to be in this repo as such, I can just add them to my toml-test-matrix repo and compile them from there – I don't mind if it's copy/pasted or ugly or whatever – it's only going to be run to create that HTML page.
It really shouldn't be some selective copy/pasting from https://github.com/toml-rs/toml/tree/main/crates/toml/tests and more than a few minutes or so of work – bit to do this myself I need to spend a few hours or days learning the basics of Rust.
Beta Was this translation helpful? Give feedback.
All reactions