diff options
author | mt_caret <mtakeda.enigsol@gmail.com> | 2021-08-04 05:53:05 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-03 15:53:05 -0600 |
commit | 407de98b5e3971c84c7e89de5f2a9d317b4d4557 (patch) | |
tree | 98f102700b6976ca3a959eb3e667c10f0e859ccf /pandoc.cabal | |
parent | 8667ba2bcc8a7da6ba50369161c0bcb9020780e8 (diff) | |
download | pandoc-407de98b5e3971c84c7e89de5f2a9d317b4d4557.tar.gz |
Stop using the HTTP package. (#7456)
We only depend on the urlEncode function in the package, which is also
provided by http-types. The HTTP package also depends on the network
package, which has difficulty building on ghcjs.
Add internal module Text.Pandoc.Network.HTTP, exporting `urlEncode`.
Diffstat (limited to 'pandoc.cabal')
-rw-r--r-- | pandoc.cabal | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pandoc.cabal b/pandoc.cabal index eee862909..ef4691e3c 100644 --- a/pandoc.cabal +++ b/pandoc.cabal @@ -437,7 +437,6 @@ common common-executable library import: common-options build-depends: Glob >= 0.7 && < 0.11, - HTTP >= 4000.0.5 && < 4000.4, HsYAML >= 0.2 && < 0.3, JuicyPixels >= 3.1.6.1 && < 3.4, SHA >= 1.6 && < 1.7, @@ -710,6 +709,7 @@ library Text.Pandoc.XML.Light.Types, Text.Pandoc.XML.Light.Proc, Text.Pandoc.XML.Light.Output, + Text.Pandoc.Network.HTTP, Text.Pandoc.CSS, Text.Pandoc.CSV, Text.Pandoc.RoffChar, |