]> gitweb @ CieloNegro.org - time-http.git/blobdiff - time-http.cabal
Use data-default to provide fafault parsers; remove proxies.
[time-http.git] / time-http.cabal
index b6bc9aaec82101340626abda585af90ccecdd6fa..0314059793a2ade235427e761cab03698324ee92 100644 (file)
@@ -1,9 +1,10 @@
 Name:                time-http
-Version:             0.2
+Version:             0.5
 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/
@@ -12,7 +13,7 @@ License-file:        COPYING
 Author:              PHO <pho AT cielonegro DOT org>
 Maintainer:          PHO <pho AT cielonegro DOT org>
 Stability:           Experimental
-Category:            Web
+Category:            Time, Web
 Build-type:          Simple
 Tested-With:         GHC == 7.0.3
 Cabal-version:       >= 1.10
@@ -26,29 +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.HTTP.Common
-        Data.Time.HTTP.Internal
-        Data.Time.RFC1123.Internal
-        Data.Time.RFC733.Internal
-        Data.Time.RFC822.Internal
+        Data.Time.Format.HTTP.Common
 
     Build-depends:
         ascii                == 0.0.*,
         attempt              == 0.3.*,
-        attoparsec           == 0.9.*,
+        attoparsec           == 0.10.*,
         base                 == 4.*,
         base-unicode-symbols == 0.2.*,
         blaze-builder        == 0.3.*,
         blaze-textual        == 0.2.*,
         bytestring           == 0.9.*,
-        convertible-text     == 0.3.*,
+        convertible-text     == 0.4.*,
+        data-default         == 0.3.*,
+        failure              == 0.1.*,
         tagged               == 0.2.*,
         time                 == 1.2.*
 
@@ -60,19 +59,21 @@ 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.*,
+        attoparsec           == 0.10.*,
         base                 == 4.*,
         base-unicode-symbols == 0.2.*,
         blaze-builder        == 0.3.*,
         blaze-textual        == 0.2.*,
         bytestring           == 0.9.*,
-        convertible-text     == 0.3.*,
+        convertible-text     == 0.4.*,
+        data-default         == 0.3.*,
+        failure              == 0.1.*,
         tagged               == 0.2.*,
         time                 == 1.2.*
     GHC-Options: