packages feed

hw-json-simple-cursor 0.1.0.2 → 0.1.1.0

raw patch · 5 files changed

+57/−37 lines, 5 filesdep +doctestdep +doctest-discoverdep −semigroupsdep ~basedep ~bytestringdep ~generic-lensPVP ok

version bump matches the API change (PVP)

Dependencies added: doctest, doctest-discover

Dependencies removed: semigroups

Dependency ranges changed: base, bytestring, generic-lens, hw-balancedparens, lens, optparse-applicative

API changes (from Hackage documentation)

Files

app/App/Commands.hs view
@@ -1,7 +1,6 @@ module App.Commands where  import App.Commands.CreateIndex-import Data.Semigroup           ((<>)) import Options.Applicative  commands :: Parser (IO ())
app/App/Commands/CreateIndex.hs view
@@ -10,7 +10,6 @@ import Control.Lens import Data.Generics.Product.Any import Data.Maybe-import Data.Semigroup            ((<>)) import Data.Word import Foreign import Options.Applicative       hiding (columns)
app/Main.hs view
@@ -2,7 +2,6 @@  import App.Commands import Control.Monad-import Data.Semigroup      ((<>)) import Options.Applicative  main :: IO ()
+ doctest/DoctestDriver.hs view
@@ -0,0 +1,12 @@+{-# LANGUAGE CPP #-}++#if MIN_VERSION_GLASGOW_HASKELL(8,4,4,0)+{-# OPTIONS_GHC -F -pgmF doctest-discover #-}+#else+module Main where++import qualified System.IO as IO++main :: IO ()+main = IO.putStrLn "WARNING: doctest will not run on GHC versions earlier than 8.4.4"+#endif
hw-json-simple-cursor.cabal view
@@ -1,7 +1,7 @@-cabal-version:  2.2+cabal-version: 2.2  name:                   hw-json-simple-cursor-version:                0.1.0.2+version:                0.1.1.0 synopsis:               Memory efficient JSON parser description:            Memory efficient JSON parser. Please see README.md category:               Data@@ -9,10 +9,10 @@ bug-reports:            https://github.com/haskell-works/hw-json-simple-cursor/issues author:                 John Ky maintainer:             newhoggy@gmail.com-copyright:              2016-2019 John Ky+copyright:              2016-2020 John Ky license:                BSD-3-Clause license-file:           LICENSE-tested-with:            GHC == 8.8.1, GHC == 8.6.5, GHC == 8.4.4, GHC == 8.2.2+tested-with:            GHC == 8.10.1, GHC == 8.8.3, GHC == 8.6.5, GHC == 8.4.4 build-type:             Simple extra-source-files:     README.md                         corpus/5000B.json@@ -37,31 +37,34 @@   manual:       False   default:      False -common base                     { build-depends: base                     >= 4          && < 5      }+common base                       { build-depends: base                       >= 4.11       && < 5      } -common bytestring               { build-depends: bytestring               >= 0.10.6     && < 0.11   }-common criterion                { build-depends: criterion                >= 1.4        && < 1.6    }-common directory                { build-depends: directory                >= 1.3        && < 1.4    }-common generic-lens             { build-depends: generic-lens             >= 1.1.0.0    && < 1.3    }-common hedgehog                 { build-depends: hedgehog                 >= 0.6        && < 1.1    }-common hspec                    { build-depends: hspec                    >= 2.4        && < 3      }-common hw-balancedparens        { build-depends: hw-balancedparens        >= 0.3.0.0    && < 0.4    }-common hw-bits                  { build-depends: hw-bits                  >= 0.7.0.5    && < 0.8    }-common hw-hspec-hedgehog        { build-depends: hw-hspec-hedgehog        >= 0.1.0.4    && < 0.2    }-common hw-json-simd             { build-depends: hw-json-simd             >= 0.1.0.2    && < 0.2    }-common hw-parser                { build-depends: hw-parser                >= 0.1        && < 0.2    }-common hw-prim                  { build-depends: hw-prim                  >= 0.6.2.28   && < 0.7    }-common hw-rankselect            { build-depends: hw-rankselect            >= 0.13       && < 0.14   }-common hw-rankselect-base       { build-depends: hw-rankselect-base       >= 0.3.2.1    && < 0.4    }-common hw-simd                  { build-depends: hw-simd                  >= 0.1.1.2    && < 0.2    }-common lens                     { build-depends: lens                     >= 4          && < 5      }-common mmap                     { build-depends: mmap                     >= 0.5        && < 0.6    }-common optparse-applicative     { build-depends: optparse-applicative     >= 0.14       && < 0.16   }-common text                     { build-depends: text                     >= 1.2        && < 1.3    }-common vector                   { build-depends: vector                   >= 0.12       && < 0.13   }-common word8                    { build-depends: word8                    >= 0.1        && < 0.2    }+common bytestring                 { build-depends: bytestring                 >= 0.10.6     && < 0.11   }+common criterion                  { build-depends: criterion                  >= 1.4        && < 1.6    }+common directory                  { build-depends: directory                  >= 1.3        && < 1.4    }+common doctest                    { build-depends: doctest                    >= 0.16.2     && < 0.17   }+common doctest-discover           { build-depends: doctest-discover           >= 0.2        && < 0.3    }+common generic-lens               { build-depends: generic-lens               >= 1.1.0.0    && < 1.3    }+common hedgehog                   { build-depends: hedgehog                   >= 0.6        && < 1.1    }+common hspec                      { build-depends: hspec                      >= 2.4        && < 3      }+common hw-balancedparens          { build-depends: hw-balancedparens          >= 0.3.0.0    && < 0.4    }+common hw-bits                    { build-depends: hw-bits                    >= 0.7.0.5    && < 0.8    }+common hw-hspec-hedgehog          { build-depends: hw-hspec-hedgehog          >= 0.1.0.4    && < 0.2    }+common hw-json-simd               { build-depends: hw-json-simd               >= 0.1.0.2    && < 0.2    }+common hw-parser                  { build-depends: hw-parser                  >= 0.1        && < 0.2    }+common hw-prim                    { build-depends: hw-prim                    >= 0.6.2.28   && < 0.7    }+common hw-rankselect              { build-depends: hw-rankselect              >= 0.13       && < 0.14   }+common hw-rankselect-base         { build-depends: hw-rankselect-base         >= 0.3.2.1    && < 0.4    }+common hw-simd                    { build-depends: hw-simd                    >= 0.1.1.2    && < 0.2    }+common lens                       { build-depends: lens                       >= 4          && < 5      }+common mmap                       { build-depends: mmap                       >= 0.5        && < 0.6    }+common optparse-applicative       { build-depends: optparse-applicative       >= 0.14       && < 0.16   }+common text                       { build-depends: text                       >= 1.2        && < 1.3    }+common vector                     { build-depends: vector                     >= 0.12       && < 0.13   }+common word8                      { build-depends: word8                      >= 0.1        && < 0.2    } -common semigroups   { if impl(ghc <  8    ) { build-depends: semigroups     >= 0.16     && < 0.19 } }+common hw-json-simple-cursor+  build-depends:        hw-json-simple-cursor  common config   default-language:     Haskell2010@@ -99,19 +102,18 @@                       , generic-lens                       , hw-balancedparens                       , hw-json-simd+                      , hw-json-simple-cursor                       , hw-prim                       , hw-rankselect                       , hw-rankselect-base                       , lens                       , mmap                       , optparse-applicative-                      , semigroups                       , text                       , vector   main-is:              Main.hs   hs-source-dirs:       app   ghc-options:          -threaded -rtsopts -with-rtsopts=-N-  build-depends:        hw-json-simple-cursor   other-modules:        App.Commands                         App.Commands.CreateIndex                         App.Commands.Types@@ -124,28 +126,37 @@                       , hw-balancedparens                       , hw-bits                       , hw-hspec-hedgehog+                      , hw-json-simple-cursor                       , hw-prim                       , hw-rankselect                       , hw-rankselect-base                       , vector   type:                 exitcode-stdio-1.0   main-is:              Spec.hs-  build-depends:        hw-json-simple-cursor   hs-source-dirs:       test   ghc-options:          -threaded -rtsopts -with-rtsopts=-N   build-tool-depends:   hspec-discover:hspec-discover   other-modules:        HaskellWorks.Data.Json.Simple.CursorSpec-                        Paths_hw_json_simple_cursor  benchmark bench   import:               base, config                       , bytestring                       , criterion                       , directory+                      , hw-json-simple-cursor                       , mmap-                      , semigroups   type:                 exitcode-stdio-1.0   main-is:              Main.hs   hs-source-dirs:       bench-  build-depends:        hw-json-simple-cursor-  other-modules:        Paths_hw_json_simple_cursor++test-suite doctest+  import:               base, config+                      , doctest+                      , doctest-discover+                      , hw-json-simple-cursor+  default-language:     Haskell2010+  type:                 exitcode-stdio-1.0+  ghc-options:          -threaded+  main-is:              DoctestDriver.hs+  HS-Source-Dirs:       doctest+  build-tool-depends:   doctest-discover:doctest-discover