packages feed

json-syntax-0.1.0.0: json-syntax.cabal

cabal-version: 2.2
name: json-syntax
version: 0.1.0.0
synopsis: High-performance JSON parser
description:
  This library parses JSON into a @Value@ type that is consistent with the
  ABNF described in [RFC 7159](https://tools.ietf.org/html/rfc7159). The
  parser is about six times faster than the parser that `aeson` provides.
  This parser is however, non-resumable, so if resumable parsing is
  important, `aeson` should be preferred.
  .
  This library does not include any functions or typeclasses to help users
  marshal `Value` to their application-specific data types. Such functions
  and typeclasses are outside the scope of this library. If anyone writes a
  library that offers users these conveniences open a issue so that the
  @json-syntax@ documentation can point users to it.
homepage: https://github.com/andrewthad/json-syntax
bug-reports: https://github.com/andrewthad/json-syntax/issues
license: BSD-3-Clause
license-file: LICENSE
author: Andrew Martin
maintainer: andrew.thaddeus@gmail.com
copyright: 2019 Andrew Martin
category: Data
build-type: Simple
extra-source-files: CHANGELOG.md

library
  exposed-modules: Json
  build-depends:
    , array-builder >=0.1 && <0.2
    , array-chunks >=0.1.1 && <0.2
    , base >=4.12 && <5
    , bytesmith >=0.3.2 && <0.4
    , byteslice >=0.1.3 && <0.3
    , scientific-notation >=0.1.1 && <0.2
    , text-short >=0.1.3 && <0.2
    , primitive >=0.7 && <0.8
    , bytestring >=0.10.8 && <0.11
  hs-source-dirs: src
  default-language: Haskell2010
  ghc-options: -Wall -O2

test-suite test
  default-language: Haskell2010
  type: exitcode-stdio-1.0
  hs-source-dirs: test, common
  main-is: Main.hs
  other-modules:
    Twitter100
  ghc-options: -Wall -O2
  build-depends:
    , aeson
    , array-chunks
    , base >=4.12.0.0 && <5
    , byteslice >=0.1.3
    , bytestring
    , json-syntax
    , neat-interpolation >=0.3.2
    , primitive
    , scientific
    , scientific-notation >=0.1.1
    , small-bytearray-builder
    , tasty >=1.2.3 && <1.3
    , tasty-hunit >=0.10.0.2 && <0.11
    , text >=1.2
    , text-short
    , unordered-containers
    , vector

benchmark bench
  type: exitcode-stdio-1.0
  build-depends:
    , aeson
    , base
    , byteslice
    , bytestring
    , gauge
    , json-syntax
    , neat-interpolation >=0.3.2
    , primitive
    , text >=1.2
    , scientific-notation >=0.1.1
  ghc-options: -Wall -O2
  default-language: Haskell2010
  hs-source-dirs: bench, common
  main-is: Main.hs
  other-modules:
    Twitter100