Cabal revisions of chronos-0.3
Hackage metadata revisions edit the .cabal file after upload; each diff below is one revision.
revision 1
-name: chronos-version: 0.3-synopsis: A time library, encoding, decoding, and instances-description: Please see README.md-homepage: https://github.com/andrewthad/chronos#readme-license: BSD3-license-file: LICENSE-author: Andrew Martin-maintainer: andrew.thaddeus@gmail.com-copyright: 2016 Andrew Martin-category: web-build-type: Simple--- extra-source-files:-cabal-version: >=1.10--library- hs-source-dirs: src- exposed-modules:- Chronos.Types- , Chronos.Calendar- , Chronos.Match- , Chronos.Nanoseconds- , Chronos.Day- , Chronos.Date.Text- , Chronos.Date.ByteString.Char7- , Chronos.Datetime- , Chronos.Datetime.Text- , Chronos.Datetime.ByteString.Char7- , Chronos.OffsetDatetime.Text- , Chronos.OffsetDatetime.ByteString.Char7- , Chronos.TimeOfDay.Text- , Chronos.TimeOfDay.ByteString.Char7- , Chronos.Internal- , Chronos.Internal.Format- , Chronos.Internal.Conversion- , Chronos.Internal.CTimespec- , Chronos.Tai- , Chronos.Posix- , Chronos.Month- , Chronos.Locale.English.Text- -- , Chronos.Calendar.Text- build-depends:- base >= 4.7 && < 5- , vector- , text- , bytestring- , attoparsec- , aeson- , hashable- , primitive- default-language: Haskell2010--test-suite chronos-test- type: exitcode-stdio-1.0- hs-source-dirs: test- main-is: Spec.hs- build-depends:- base- , chronos- , text- , bytestring- , attoparsec- , test-framework- , test-framework-quickcheck2- , QuickCheck- , HUnit- , test-framework-hunit- ghc-options: -threaded -rtsopts -with-rtsopts=-N- default-language: Haskell2010--source-repository head- type: git+name: chronos +version: 0.3 +synopsis: A performant time library +description: + Performance-oriented time library for haskell. The main differences + between this and "time" are that this library: + . + * Uses machine integers where possible. This means that some time-related + arithmetic should be faster. It also means that the types are incapable + of representing times that are very far in the future or the past. + . + * Provides `ToJSON` and "FromJSON" instances for json serialization. + . + * Provides "Unbox" instances for working with unboxed vectors. + . + * Uses normal non-overloaded haskell functions for encoding and decoding time. It provides + "attoparsec" parsers for both "Text" and "ByteString". Additionally, it + provides functions for encoding time as "Text" or "ByteString". The "time" + library uses accomplishes these with the "Data.Time.Format" module, + which uses UNIX-style datetime format strings. It is expected that + the approach taken in this library is faster and catches more mistakes + at compile time at the cost of being less expressive. + . + * Only provides nanosecond resolution instead of picosecond resolution. + + +homepage: https://github.com/andrewthad/chronos#readme +license: BSD3 +license-file: LICENSE +author: Andrew Martin +maintainer: andrew.thaddeus@gmail.com +copyright: 2016 Andrew Martin +category: web +build-type: Simple +cabal-version: >=1.10 +x-revision: 1 + +library + hs-source-dirs: src + exposed-modules: + Chronos.Types + , Chronos.Calendar + , Chronos.Match + , Chronos.Nanoseconds + , Chronos.Day + , Chronos.Date.Text + , Chronos.Date.ByteString.Char7 + , Chronos.Datetime + , Chronos.Datetime.Text + , Chronos.Datetime.ByteString.Char7 + , Chronos.OffsetDatetime.Text + , Chronos.OffsetDatetime.ByteString.Char7 + , Chronos.TimeOfDay.Text + , Chronos.TimeOfDay.ByteString.Char7 + , Chronos.Internal + , Chronos.Internal.Format + , Chronos.Internal.Conversion + , Chronos.Internal.CTimespec + , Chronos.Tai + , Chronos.Posix + , Chronos.Month + , Chronos.Locale.English.Text + build-depends: + base >= 4.8 && < 5 + , vector >= 0.11 && < 0.12 + , text >= 1.2 && < 1.3 + , bytestring >= 0.10 && < 0.11 + , attoparsec >= 0.13 && < 0.14 + -- Remove support for aeson < 1.0 after the newer + -- aeson lands in stackage. Currently, ToJSONKey + -- and FromJSONKey instances cannot be added. + , aeson >= 0.11 && < 1.1 + , hashable >= 1.2 && < 1.3 + , primitive >= 0.6 && < 0.7 + default-language: Haskell2010 + +test-suite chronos-test + type: exitcode-stdio-1.0 + hs-source-dirs: test + main-is: Spec.hs + build-depends: + base + , chronos + , text + , bytestring + , attoparsec + , test-framework + , test-framework-quickcheck2 + , QuickCheck + , HUnit + , test-framework-hunit + ghc-options: -threaded -rtsopts -with-rtsopts=-N + default-language: Haskell2010 + +source-repository head + type: git location: https://github.com/andrewthad/chronos