packages feed

benc-0.1.1.0: benc.cabal

cabal-version:      2.4
name:               benc
version:            0.1.1.0
synopsis:           Bencode encoding and decoding library
description:        Bencode encoding and decoding library.
homepage:           https://github.com/meooow25/benc
bug-reports:        https://github.com/meooow25/benc/issues
license:            MIT
license-file:       LICENSE
author:             Soumik Sarkar
maintainer:         soumiksarkar.3120@gmail.com
category:           Codec
extra-doc-files:
    README.md
    CHANGELOG.md

tested-with:
      GHC == 8.10.1
    , GHC == 8.10.7
    , GHC == 9.0.2
    , GHC == 9.2.8
    , GHC == 9.4.8
    , GHC == 9.6.3
    , GHC == 9.8.1

common warnings
    ghc-options: -Wall

library
    import:           warnings

    exposed-modules:
        Data.Bencode.Decode
        Data.Bencode.Encode
        Data.Bencode.Type

    other-modules:
        Data.Bencode.AST
        Data.Bencode.Util

    build-depends:
        base         >= 4.14    && < 5.0
      , bytestring   >= 0.10.10 && < 0.13
      , containers   >= 0.6.2.1 && < 0.8
      , primitive    >= 0.9.0   && < 0.10
      , text         >= 1.2.3.2 && < 2.2
      , transformers >= 0.5.6.2 && < 0.7
      , vector       >= 0.13.1  && < 0.14

    hs-source-dirs:   src
    default-language: Haskell2010

test-suite benc-test
    import:           warnings

    build-depends:
        base
      , benc
      , tasty
      , tasty-hunit
      , tasty-quickcheck
      , bytestring
      , containers
      , text
      , vector

    hs-source-dirs:   test
    main-is:          Test.hs
    default-language: Haskell2010
    type:             exitcode-stdio-1.0

benchmark benc-bench
    import:           warnings

    build-depends:
        base
      , benc
      , deepseq
      , tasty
      , tasty-bench
      , tasty-hunit
      , bytestring
      , containers
      , text
      , vector

    hs-source-dirs:   bench
    main-is:          Bench.hs
    default-language: Haskell2010
    type:             exitcode-stdio-1.0