hurl icon indicating copy to clipboard operation
hurl copied to clipboard

Replace `sxd_document` with an adequate alternative, e.g. xml-rs

Open nc7s opened this issue 2 years ago • 2 comments

I'm looking into packaging hurl for Debian. The hurl_core crate depends on sxd_document, a long inactive crate that depends on another long inactive crate peresil and an extremely old version of typed-arena. All sxd_document does there is to provide a is_valid() function, matching its output to Ok(_).

I suggest xml-rs, a widely used XML library with no dependency, already packaged in Debian.

nc7s avatar Jun 30 '23 21:06 nc7s

Hi, first of all thank you for looking into Debian packaging. We're a bit stuck on this, we've struggled to start and need some help on this for sure (see #366). Nice catch for sxd_document, we'll see how to remove the dependency asap indeed. Some thing to know: we have two depedencies that may need a bit of work for a proper Debian package:

  • curl-rust which is a binding to curl
  • libxml which is a binding to libxml (for evaluating XPath expression).

A part from these core dependencies, don't hesitate to make issues if you see other dependencies that could be remove / replaced to make a Debian package easier.

jcamiel avatar Jun 30 '23 21:06 jcamiel

I'm not asking to replace it because it's not in Debian ;) but rather, it's long inactive (aka unmaintained) and has a higher chance of being vulnerable (especially so handling XML). We are happy to package the deps as long as they are useful.

nc7s avatar Jun 30 '23 22:06 nc7s