packages feed

sdp4bytestring-0.2: sdp4bytestring.cabal

name:          sdp4bytestring
version:       0.2
category:      Data Structures

synopsis:      SDP wrapper for ByteString.
description:   This package provides implementations of SDP shared interface for
               simplest data operations with ByteStrings.

author:        Andrey Mulik
maintainer:    work.a.mulik@gmail.com
bug-reports:   https://github.com/andreymulik/sdp4bytestring/issues

copyright:     2019 Andrey Mulik
license-file:  LICENSE
license:       BSD3

build-type:    Simple
cabal-version: >=1.10

source-repository head
  type: git
  location: https://github.com/andreymulik/sdp4bytestring

---            _      _____ ______ ______   ___  ______ __   __              ---
---           | |    |_   _|| ___ \| ___ \ / _ \ | ___ \\ \ / /              ---
---           | |      | |  | |_/ /| |_/ // /_\ \| |_/ / \ V /               ---
---           | |      | |  | ___ \|    / |  _  ||    /   \ /                ---
---           | |____ _| |_ | |_/ /| |\ \ | | | || |\ \   | |                ---
---           \_____/ \___/ \____/ \_| \_|\_| |_/\_| \_|  \_/                ---

Library
  hs-source-dirs:   src
  
  default-language: Haskell2010
  
  build-depends:
    base       >= 4.12 && < 5,
    sdp        >= 0.2  && < 1,
    sdp-io     >= 0.2  && < 1,
    bytestring >= 0.10 && < 0.11
  
  ghc-options: -Wall -Wno-orphans -Wcompat
  
  exposed-modules:
    SDP.ByteString.Lazy
    SDP.ByteString

---            _____  _____  _____  _____  _____  _   _  _____               ---
---           |_   _||  ___|/  ___||_   _||_   _|| \ | ||  __ \              ---
---             | |  | |__  \ `--.   | |    | |  |  \| || |  \/              ---
---             | |  |  __|  `--. \  | |    | |  | . ` || | __               ---
---             | |  | |___ /\__/ /  | |   _| |_ | |\  || |_\ \              ---
---             \_/  \____/ \____/   \_/   \___/ \_| \_/ \____/              ---

test-suite test-bytestring-strict
  default-language: Haskell2010
  hs-source-dirs:   test, src
  
  type:             exitcode-stdio-1.0
  main-is:          test-bytestring-strict.hs
  
  other-modules:
    SDP.ByteString

  build-depends:
    base                       >= 4.12 && < 5,
    sdp                        >= 0.2  && < 1,
    sdp-io                     >= 0.2  && < 1,
    bytestring                 >= 0.10 && < 0.11,
    
    QuickCheck                 >= 2.12 && < 3,
    sdp-quickcheck             >= 0.2  && < 1,
    quickcheck-instances       >= 0.3  && < 0.4,
    
    test-framework             >= 0.8  && < 0.9,
    test-framework-quickcheck2 >= 0.3  && < 0.4

  ghc-options: -Wall -Wno-orphans

test-suite test-bytestring-lazy
  default-language: Haskell2010
  hs-source-dirs:   test, src
  
  type:             exitcode-stdio-1.0
  main-is:          test-bytestring-lazy.hs
  
  other-modules:
    SDP.ByteString.Lazy
    SDP.ByteString

  build-depends:
    base                       >= 4.12 && < 5,
    sdp                        >= 0.2  && < 1,
    sdp-io                     >= 0.2  && < 1,
    bytestring                 >= 0.10 && < 0.11,
    
    QuickCheck                 >= 2.12 && < 3,
    sdp-quickcheck             >= 0.2  && < 1,
    quickcheck-instances       >= 0.3  && < 0.4,
    
    test-framework             >= 0.8  && < 0.9,
    test-framework-quickcheck2 >= 0.3  && < 0.4

  ghc-options: -Wall -Wno-orphans