lettier / webviewhs

🌐 A Haskell binding to the webview library created by Serge Zaitsev.
https://lettier.github.io/webviewhs
BSD 3-Clause "New" or "Revised" License
125 stars 8 forks source link

More conservative dependencies #2

Closed theduke closed 4 years ago

theduke commented 5 years ago

This library comes with a few heavy dependencies, namely Clay, jmacro and text-format-heavy.

While I'm sure they are nice to have for some users, I have no use for them.

IMO they should not be required, since they can be plugged in without the provided helper functions quite easily.

lettier commented 5 years ago

Hello @theduke

I will try to implement this for the next release.

:+1:

lettier commented 5 years ago

Hello @theduke

I have added a cabal build flag called light.

You can use this flag to exclude the need for clay, jmacro, and text-format-heavy.

For more information, click here.

:+1:

theduke commented 5 years ago

Awesome, thanks.