packages feed

base-encoding-0.1.0.0: base-encoding.cabal

cabal-version:       1.12
name:                base-encoding
version:             0.1.0.0

synopsis:            Binary-to-text encodings (e.g. base64)
license:             BSD3
license-file:        LICENSE
author:              Herbert Valerio Riedel
bug-reports:         https://github.com/hvr/base-encoding/issues
maintainer:          hvr@gnu.org
category:            Text
build-type:          Simple
description:
  This package provides a simple and convenient API to encode and
  decode binary data in the popular binary-to-text \"base\" encoding
  family as described in [RFC 4648](https://tools.ietf.org/html/rfc4648) et al.
  .
  Currently, the following encodings are supported:
  .
  - base16 (RFC4648)
  - base64 (RFC4648)
  - base64url (RFC4648)

source-repository head
  type:     git
  location: https://github.com/hvr/base-encoding

library
  hs-source-dirs:      src

  exposed-modules:
    Codec.Base16
    Codec.Base64
    Codec.Base64Url

  other-modules:
    Internal

  default-language:    Haskell2010
  other-extensions:    CPP MultiParamTypeClasses

  if impl(ghc >= 7.4)
    default-extensions: Trustworthy
    if impl(ghc >= 7.10)
      ghc-options: -fno-warn-trustworthy-safe

  build-depends:
      base               >=4.3      && <4.12
    , base16-bytestring  >=0.1.1.6  && <0.2
    , base64-bytestring  >=1.0.0.1  && <1.1

    , bytestring         >=0.9.1    && <0.11
    , text               >=1.2.3    && <1.3

  ghc-options: -Wall