summaryrefslogtreecommitdiff
path: root/base64-bytestring.cabal
blob: 56f04b060282b1a94ebc0ef4dd935d8a12863345 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
cabal-version:      1.12
name:               base64-bytestring
version:            1.2.1.0
x-revision: 1
synopsis:           Fast base64 encoding and decoding for ByteStrings
description:
  This package provides support for encoding and decoding binary data according to @base64@ (see also <https://tools.ietf.org/html/rfc4648 RFC 4648>) for strict and lazy ByteStrings
  .
  For a fuller-featured and better-performing Base64 library, see the <https://hackage.haskell.org/package/base64 base64> package.

homepage:           https://github.com/haskell/base64-bytestring
bug-reports:        https://github.com/haskell/base64-bytestring/issues
license:            BSD3
license-file:       LICENSE
author:             Bryan O'Sullivan <bos@serpentine.com>
maintainer:
  Herbert Valerio Riedel <hvr@gnu.org>,
  Mikhail Glushenkov <mikhail.glushenkov@gmail.com>,
  Emily Pillmore <emilypi@cohomolo.gy>

copyright:          2010-2020 Bryan O'Sullivan et al.
category:           Data
build-type:         Simple
tested-with:
  GHC ==7.0.4
   || ==7.2.2
   || ==7.4.2
   || ==7.6.3
   || ==7.8.4
   || ==7.10.3
   || ==8.0.2
   || ==8.2.2
   || ==8.4.4
   || ==8.6.5
   || ==8.8.4
   || ==8.10.7

extra-source-files:
  README.md
  CHANGELOG.md
  utils/Transcode.hs
  utils/transcode.py

library
  exposed-modules:
    Data.ByteString.Base64
    Data.ByteString.Base64.Lazy
    Data.ByteString.Base64.URL
    Data.ByteString.Base64.URL.Lazy

  other-modules:    Data.ByteString.Base64.Internal
  build-depends:
      base        >=4   && <5
    , bytestring  >=0.9 && <0.13

  ghc-options:      -Wall -funbox-strict-fields
  default-language: Haskell2010

test-suite test
  type:             exitcode-stdio-1.0
  hs-source-dirs:   tests
  main-is:          Tests.hs
  ghc-options:      -Wall -threaded -rtsopts
  build-depends:
      base
    , base64-bytestring
    , bytestring
    , HUnit
    , QuickCheck
    , test-framework
    , test-framework-hunit
    , test-framework-quickcheck2

  default-language: Haskell2010

benchmark benchmarks
  type:             exitcode-stdio-1.0
  hs-source-dirs:   benchmarks
  main-is:          BM.hs
  ghc-options:      -Wall -threaded -rtsopts
  build-depends:
      base
    , base64-bytestring
    , bytestring
    , criterion
    , deepseq >=1.1

  default-language: Haskell2010

source-repository head
  type:     git
  location: git://github.com/haskell/base64-bytestring