jgm / skylighting

A Haskell syntax highlighting library with tokenizers derived from KDE syntax highlighting descriptions
189 stars 61 forks source link

`network` as a transitive dependency #189

Closed nishanthkarthik closed 3 months ago

nishanthkarthik commented 3 months ago

I tried compiling this for wasm and noticed a dependency chain xml-conduit -> conduit-extra -> network. Ideally, using skylighting-core should not require my target platform to have networking. Do you have a suggestions for a different xml library that's compatible with xml-conduit?

jgm commented 3 months ago

No. We used to use xml-light, but it doesn't have the features we need to correctly parse KDE syntax descriptions. At the time I also looked at other alternatives.

nishanthkarthik commented 3 months ago

No worries! I'll stub the network calls then :)