-
Thank you for trying to address all of the questions etc. Was it an explicit decision to introduce a library that has a system dependency? Before this commit, I was able to compile for wasm32 without problems, now hurl_core needs a system dependency that obv. does not work because libxml does not support wasm32. if it was explicit than I also plan with this and will target only, windows, mac and unix from now on in my repo. Otherwise I wait :) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Hi @SilenLoc There's no bad question of course and we're open to discuss everything! Yes it was an explicit decision, we think that it'll not be an issue, as With this change, we would like:
The first point deals with this hurl file:
With the XML body being inline without "strong marker" (that allows a simple and clean file), we need to identify the start and the end of the XML body, at the byte level. Not a lot of XML library allows this kind of parsing, The second point was more to prevent being stuck with a dependency that will be not updated. As Now, things could change in the future, as we really like to have as little as dependency as possible. We may change our implementation and do the XML parsing ourself. It's not a priority, it will not be done in the next month but there is a possibility we remove the need to have See also the PR comment with performance test |
Beta Was this translation helpful? Give feedback.
-
It's interesting to know that |
Beta Was this translation helpful? Give feedback.
Hi @SilenLoc
There's no bad question of course and we're open to discuss everything!
Yes it was an explicit decision, we think that it'll not be an issue, as
libxml
being already a mandatory dependency of thehurl
binary (used for XPath evaluation). Let me just explained the reason of this change.With this change, we would like:
xsd-document
Rust crate which has not been updated for 3 yearsThe first point deals with this hurl file: