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 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120
|
cabal-version: 1.12
-- This file has been generated from package.yaml by hpack version 0.31.1.
--
-- see: https://github.com/sol/hpack
--
-- hash: 6183f2dd5fde1b5f89e8c5599ef0b4457280d17a3b0126ef21c0f541cc780473
name: sandi
version: 0.5
synopsis: Data encoding library
description: Reasonably fast data encoding library.
category: Codec, Conduit
maintainer: Magnus Therning <magnus@therning.org>
license: BSD3
license-file: LICENSE
build-type: Simple
extra-source-files:
package.yaml
csrc/codec.h
source-repository head
type: git
location: https://github.com/magthe/sandi.git
flag with-conduit
manual: True
default: True
library
exposed-modules:
Codec.Binary.Base16
Codec.Binary.Base32
Codec.Binary.Base32Hex
Codec.Binary.Base64
Codec.Binary.Base64Url
Codec.Binary.Base85
Codec.Binary.QuotedPrintable
Codec.Binary.Uu
Codec.Binary.Xx
Codec.Binary.Yenc
other-modules:
Paths_sandi
hs-source-dirs:
src
cc-options: -fPIC -Wall -Wextra
c-sources:
csrc/codec.c
build-depends:
base <5
, bytestring
if flag(with-conduit)
exposed-modules:
Data.Conduit.Codec.Base16
Data.Conduit.Codec.Base32
Data.Conduit.Codec.Base32Hex
Data.Conduit.Codec.Base64
Data.Conduit.Codec.Base64Url
Data.Conduit.Codec.Base85
Data.Conduit.Codec.QuotedPrintable
Data.Conduit.Codec.Uu
Data.Conduit.Codec.Xx
Data.Conduit.Codec.Yenc
other-modules:
Data.Conduit.Codec.Util
build-depends:
conduit
, exceptions
default-language: Haskell2010
test-suite sandi-tests
type: exitcode-stdio-1.0
main-is: Main.hs
other-modules:
Codec.Binary.Base16Test
Codec.Binary.Base32HexTest
Codec.Binary.Base32Test
Codec.Binary.Base64Test
Codec.Binary.Base64UrlTest
Codec.Binary.Base85Test
Codec.Binary.QuotedPrintableTest
Codec.Binary.UuTest
Codec.Binary.XxTest
Codec.Binary.YencTest
Codec.TestUtils
Paths_sandi
hs-source-dirs:
test-src
build-depends:
base
, bytestring
, sandi
, tasty
, tasty-hunit
, tasty-quickcheck
default-language: Haskell2010
benchmark sandi-bench
type: exitcode-stdio-1.0
main-is: Main.hs
other-modules:
Codec.Binary.Base16Bench
Codec.Binary.Base32Bench
Codec.Binary.Base32HexBench
Codec.Binary.Base64Bench
Codec.Binary.Base64UrlBench
Codec.Binary.Base85Bench
Codec.Binary.QuotedPrintableBench
Codec.Binary.UuBench
Codec.Binary.XxBench
Codec.Binary.YencBench
Paths_sandi
hs-source-dirs:
bench-src
build-depends:
base
, bytestring
, criterion
, sandi
default-language: Haskell2010
|