|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
Name: HTTP
|
|
|
|
|
Version: 4000.3.14
|
|
|
|
|
x-revision: 1
|
|
|
|
|
Cabal-Version: >= 1.8
|
|
|
|
|
Version: 4000.3.15
|
|
|
|
|
x-revision: 2
|
|
|
|
|
Cabal-Version: >= 1.10
|
|
|
|
|
Build-type: Simple
|
|
|
|
|
License: BSD3
|
|
|
|
|
License-file: LICENSE
|
|
|
|
@ -111,10 +111,11 @@ Library
|
|
|
|
|
-- note the test harness constraints should be kept in sync with these
|
|
|
|
|
-- where dependencies are shared
|
|
|
|
|
Build-depends: base >= 4.3.0.0 && < 4.15, parsec >= 2.0 && < 3.2
|
|
|
|
|
Build-depends: array >= 0.3.0.2 && < 0.6, bytestring >= 0.9.1.5 && < 0.11
|
|
|
|
|
Build-depends: time >= 1.1.2.3 && < 1.10
|
|
|
|
|
Build-depends: array >= 0.3.0.2 && < 0.6, bytestring >= 0.9.1.5 && < 0.12
|
|
|
|
|
Build-depends: time >= 1.1.2.3 && < 1.11
|
|
|
|
|
|
|
|
|
|
Extensions: FlexibleInstances
|
|
|
|
|
default-language: Haskell98
|
|
|
|
|
default-extensions: FlexibleInstances
|
|
|
|
|
|
|
|
|
|
if flag(mtl1)
|
|
|
|
|
Build-depends: mtl >= 1.1.1.0 && < 1.2
|
|
|
|
@ -131,11 +132,12 @@ Library
|
|
|
|
|
ghc-options: -Werror
|
|
|
|
|
|
|
|
|
|
if os(windows)
|
|
|
|
|
Build-depends: Win32 >= 2.2.0.0 && < 2.9
|
|
|
|
|
Build-depends: Win32 >= 2.2.0.0 && < 2.10
|
|
|
|
|
|
|
|
|
|
Test-Suite test
|
|
|
|
|
type: exitcode-stdio-1.0
|
|
|
|
|
|
|
|
|
|
default-language: Haskell98
|
|
|
|
|
hs-source-dirs: test
|
|
|
|
|
main-is: httpTests.hs
|
|
|
|
|
|
|
|
|
@ -143,13 +145,15 @@ Test-Suite test
|
|
|
|
|
Httpd
|
|
|
|
|
UnitTests
|
|
|
|
|
|
|
|
|
|
ghc-options: -Wall
|
|
|
|
|
|
|
|
|
|
-- note: version constraints for dependencies shared with the library
|
|
|
|
|
-- should be the same
|
|
|
|
|
build-depends: HTTP,
|
|
|
|
|
HUnit >= 1.2.0.1 && < 1.7,
|
|
|
|
|
httpd-shed >= 0.4 && < 0.5,
|
|
|
|
|
mtl >= 1.1.1.0 && < 2.3,
|
|
|
|
|
bytestring >= 0.9.1.5 && < 0.11,
|
|
|
|
|
bytestring >= 0.9.1.5 && < 0.12,
|
|
|
|
|
deepseq >= 1.3.0.0 && < 1.5,
|
|
|
|
|
pureMD5 >= 0.2.4 && < 2.2,
|
|
|
|
|
base >= 4.3.0.0 && < 4.15,
|
|
|
|
@ -168,7 +172,7 @@ Test-Suite test
|
|
|
|
|
case-insensitive >= 0.4.0.1 && < 1.3,
|
|
|
|
|
http-types >= 0.8.0 && < 1.0,
|
|
|
|
|
wai >= 2.1.0 && < 3.3,
|
|
|
|
|
warp >= 2.1.0 && < 3.3
|
|
|
|
|
warp >= 2.1.0 && < 3.4
|
|
|
|
|
|
|
|
|
|
if flag(conduit10)
|
|
|
|
|
build-depends:
|