on master help sign in
vault 0.3
eebd765Michael Snoyman
wai/Network/Wai.hs+5
@@ -1,4 +1,5 @@
1{-# LANGUAGE Rank2Types #-}
1{-# LANGUAGE Rank2Types #-}
2+{-# LANGUAGE CPP #-}
2{-# LANGUAGE ExistentialQuantification #-}
3{-# LANGUAGE ExistentialQuantification #-}
3{-# LANGUAGE DeriveDataTypeable #-}
4{-# LANGUAGE DeriveDataTypeable #-}
4{-|
5{-|
@@ -61,7 +62,11 @@ import qualified Network.HTTP.Types as H
61import Data.Text (Text)
62import Data.Text (Text)
62import Data.ByteString.Lazy.Char8 () -- makes it easier to use responseLBS
63import Data.ByteString.Lazy.Char8 () -- makes it easier to use responseLBS
63import Blaze.ByteString.Builder (fromByteString)
64import Blaze.ByteString.Builder (fromByteString)
65+#if MIN_VERSION_vault(0,3,0)
66+import Data.Vault.Lazy (Vault)
67+#else
64import Data.Vault (Vault)
68import Data.Vault (Vault)
69+#endif
65import Data.Word (Word64)
70import Data.Word (Word64)
66
71
67-- | Information on the request sent by the client. This abstracts away the
72-- | Information on the request sent by the client. This abstracts away the
wai/wai.cabal+2−2
@@ -1,5 +1,5 @@
1Name: wai
1Name: wai
2−Version: 1.4.0.1
2+Version: 1.4.0.2
3Synopsis: Web Application Interface.
3Synopsis: Web Application Interface.
4Description: Provides a common protocol for communication between web applications and web servers.
4Description: Provides a common protocol for communication between web applications and web servers.
5License: MIT
5License: MIT
@@ -25,6 +25,6 @@ Library
25 , http-types >= 0.7
25 , http-types >= 0.7
26 , text >= 0.7
26 , text >= 0.7
27 , transformers >= 0.2.2
27 , transformers >= 0.2.2
28− , vault >= 0.1 && < 0.3
28+ , vault >= 0.1 && < 0.4
29 Exposed-modules: Network.Wai
29 Exposed-modules: Network.Wai
30 ghc-options: -Wall
30 ghc-options: -Wall