packages feed

bytesmith-0.1.0.0: bytesmith.cabal

cabal-version: 2.2
name: bytesmith
version: 0.1.0.0
synopsis: Nonresumable byte parser
description:
  Parse bytes as fast as possible. This is a nonresumable parser
  that aggresively uses `UnboxedSums` to avoid performing any
  allocations.
homepage: https://github.com/andrewthad/bytesmith
bug-reports: https://github.com/andrewthad/bytesmith/issues
license: BSD-3-Clause
license-file: LICENSE
author: Andrew Martin
maintainer: andrew.thaddeus@gmail.com
copyright: 2019 Andrew Martin
category: Data
extra-source-files: CHANGELOG.md

library
  exposed-modules:
    Data.Bytes.Parser
  build-depends:
    , base >=4.12 && <5
    , byteslice >=0.1.1 && <2
    , primitive >=0.7 && <0.8
  hs-source-dirs: src
  ghc-options: -O2 -Wall
  default-language: Haskell2010

test-suite test
  default-language: Haskell2010
  type: exitcode-stdio-1.0
  hs-source-dirs: test
  main-is: Main.hs
  build-depends:
    , base >=4.12.0.0 && <5
    , bytesmith
    , primitive
    , byteslice