on master help sign in
vault 0.3
commiteebd765b047d5f360dcca7546ac7764c4b7da17b authorMichael Snoyman <michael@snoyman.com> dateSun 1 Sep 2013, 18:43 (13 years ago) parent4805e74
2 files changed+7−2
wai/Network/Wai.hs+5 wai/wai.cabal+2−2
wai/Network/Wai.hs+5
@@ -1,4 +1,5 @@
11{-# LANGUAGE Rank2Types #-}
2+{-# LANGUAGE CPP #-}
23{-# LANGUAGE ExistentialQuantification #-}
34{-# LANGUAGE DeriveDataTypeable #-}
45{-|
@@ -61,7 +62,11 @@ import qualified Network.HTTP.Types as H
6162import Data.Text (Text)
6263import Data.ByteString.Lazy.Char8 () -- makes it easier to use responseLBS
6364import Blaze.ByteString.Builder (fromByteString)
65+#if MIN_VERSION_vault(0,3,0)
66+import Data.Vault.Lazy (Vault)
67+#else
6468import Data.Vault (Vault)
69+#endif
6570import Data.Word (Word64)
6671
6772-- | Information on the request sent by the client. This abstracts away the
wai/wai.cabal+2−2
@@ -1,5 +1,5 @@
11Name: wai
2−Version: 1.4.0.1
2+Version: 1.4.0.2
33Synopsis: Web Application Interface.
44Description: Provides a common protocol for communication between web applications and web servers.
55License: MIT
@@ -25,6 +25,6 @@ Library
2525 , http-types >= 0.7
2626 , text >= 0.7
2727 , transformers >= 0.2.2
28− , vault >= 0.1 && < 0.3
28+ , vault >= 0.1 && < 0.4
2929 Exposed-modules: Network.Wai
3030 ghc-options: -Wall