]> gitweb @ CieloNegro.org - time-http.git/blobdiff - time-http.cabal
Merge branch 'convertible'
[time-http.git] / time-http.cabal
index d8c1c2a13df6239b7c7bd7d9998fffd560a96665..d30a68a90e325199c4be99c43ea4e95d129a3284 100644 (file)
@@ -1,9 +1,10 @@
 Name:                time-http
-Version:             0.2
+Version:             0.3
 Synopsis:            Parse and format HTTP/1.1 Date and Time strings
 Description:
         This package provides functionalities to parse and format
-        various Date and Time formats allowed in HTTP\/1.1 (RFC 2616).
+        various Date and Time formats allowed in HTTP\/1.1
+        (<http://tools.ietf.org/html/rfc2616#section-3.3>).
 
 Homepage:            http://cielonegro.org/HTTPDateTime.html
 Bug-Reports:         http://static.cielonegro.org/ditz/time-http/
@@ -26,27 +27,27 @@ Source-Repository head
 
 Library
     Exposed-modules:
-        Data.Time.Asctime
-        Data.Time.HTTP
-        Data.Time.RFC1123
-        Data.Time.RFC733
-        Data.Time.RFC822
+        Data.Time.Format.C
+        Data.Time.Format.RFC733
+        Data.Time.Format.RFC822
+        Data.Time.Format.RFC1123
+        Data.Time.Format.HTTP
 
     Other-modules:
-        Data.Time.Asctime.Internal
-        Data.Time.HTTP.Common
-        Data.Time.HTTP.Internal
-        Data.Time.RFC1123.Internal
-        Data.Time.RFC733.Internal
-        Data.Time.RFC822.Internal
+        Data.Time.Format.HTTP.Common
+        Data.Time.Format.RFC822.Internal
 
     Build-depends:
         ascii                == 0.0.*,
+        attempt              == 0.3.*,
         attoparsec           == 0.9.*,
-        blaze-builder        == 0.3.*,
-        blaze-textual        == 0.2.*,
         base                 == 4.*,
         base-unicode-symbols == 0.2.*,
+        blaze-builder        == 0.3.*,
+        blaze-textual        == 0.2.*,
+        bytestring           == 0.9.*,
+        convertible-text     == 0.4.*,
+        tagged               == 0.2.*,
         time                 == 1.2.*
 
     Default-Language:
@@ -57,16 +58,20 @@ Library
 
 Test-Suite test-time-http
     Type:    exitcode-stdio-1.0
-    Main-Is: Test/Time/HTTP.hs
+    Main-Is: Test/Time/Format/HTTP.hs
     Default-Language: Haskell2010
     Build-depends:
         QuickCheck           == 2.4.*,
         ascii                == 0.0.*,
+        attempt              == 0.3.*,
         attoparsec           == 0.9.*,
-        blaze-builder        == 0.3.*,
-        blaze-textual        == 0.2.*,
         base                 == 4.*,
         base-unicode-symbols == 0.2.*,
+        blaze-builder        == 0.3.*,
+        blaze-textual        == 0.2.*,
+        bytestring           == 0.9.*,
+        convertible-text     == 0.4.*,
+        tagged               == 0.2.*,
         time                 == 1.2.*
     GHC-Options:
         -Wall -fno-warn-orphans