candid-0.5: candid.cabal
cabal-version: 2.0
name: candid
version: 0.5
license: Apache
license-file: LICENSE
maintainer: mail@joachim-breitner.de
author: Joachim Breitner
homepage: https://github.com/nomeata/haskell-candid
synopsis: Candid integration
description:
This package brings the Candid interface definition language to Haskell,
supporting serialization, deserialization, importing type definition and
other features.
.
See "Codec.Candid" for an overview and <https://github.com/dfinity/candid> to
learn more about Candid.
category: Codec
build-type: Simple
extra-source-files: CHANGELOG.md words.txt
library
exposed-modules:
Codec.Candid
Codec.Candid.Tuples
Codec.Candid.TestExports
hs-source-dirs: src
other-modules:
Codec.Candid.Parse
Codec.Candid.Class
Codec.Candid.Generic
Codec.Candid.Service
Codec.Candid.TH
Codec.Candid.Data
Codec.Candid.Types
Codec.Candid.FieldName
Codec.Candid.Hash
Codec.Candid.TypTable
Codec.Candid.Decode
Codec.Candid.EncodeTextual
Codec.Candid.Encode
Codec.Candid.Infer
Codec.Candid.Subtype
Codec.Candid.Coerce
default-language: Haskell2010
ghc-options: -Wall -Wno-name-shadowing
build-depends:
base ^>=4.14.3 || ^>=4.15.1 || ^>=4.16.3 || ^>=4.17.0 || ^>=4.18.1 || ^>=4.19.0,
text ^>=1.2.4 || ^>=2.0.1 || ^>=2.1,
dlist ^>=1.0,
vector ^>=0.12.3 || ^>=0.13.0,
bytestring ^>=0.10.12 || ^>=0.11.3 || ^>=0.12.0,
mtl ^>=2.2.2 || ^>=2.3.1,
transformers ^>=0.5.6 || ^>=0.6.1,
hex-text ^>=0.1.0,
digest ^>=0.0.1,
megaparsec ^>=9.2.1 || ^>=9.3.1 || ^>=9.4.1 || ^>=9.5.0,
parser-combinators ^>=1.3.0,
scientific ^>=0.3.7,
cereal ^>=0.5.8,
leb128-cereal ^>=1.2,
containers ^>=0.6.4,
unordered-containers ^>=0.2.19,
row-types ^>=1.0.1,
constraints ^>=0.13.4 || ^>=0.14,
prettyprinter ^>=1.7.1,
template-haskell ^>=2.16.0 || ^>=2.17.0 || ^>=2.18.0 || ^>=2.19.0 || ^>=2.20.0 || ^>=2.21.0,
base32 ^>=0.2.2 || ^>=0.3.1,
split ^>=0.2.3,
file-embed ^>=0.0.15
executable hcandid
main-is: hcandid.hs
default-language: Haskell2010
ghc-options: -Wall -Wno-name-shadowing
build-depends:
base ^>=4.14.3 || ^>=4.15.1 || ^>=4.16.3 || ^>=4.17.0 || ^>=4.18.1 || ^>=4.19.0,
candid,
optparse-applicative ^>=0.17.1 || ^>=0.18.1,
text ^>=1.2.4 || ^>=2.0.1 || ^>=2.1,
bytestring ^>=0.10.12 || ^>=0.11.3 || ^>=0.12.0,
hex-text ^>=0.1.0,
prettyprinter ^>=1.7.1
test-suite test
type: exitcode-stdio-1.0
main-is: test.hs
hs-source-dirs: test
other-modules:
SpecTests
Tests
THTests
default-language: Haskell2010
ghc-options: -Wall -Wno-name-shadowing -rtsopts
build-depends:
base ^>=4.14.3 || ^>=4.15.1 || ^>=4.16.3 || ^>=4.17.0 || ^>=4.18.1 || ^>=4.19.0,
tasty ^>=1.4.3 || ^>=1.5,
tasty-hunit ^>=0.10.0,
tasty-smallcheck ^>=0.8.2,
tasty-quickcheck ^>=0.10.2,
tasty-rerun ^>=1.1.18,
smallcheck ^>=1.2.1,
candid,
bytestring ^>=0.10.12 || ^>=0.11.3 || ^>=0.12.0,
text ^>=1.2.4 || ^>=2.0.1 || ^>=2.1,
vector ^>=0.12.3 || ^>=0.13.0,
prettyprinter ^>=1.7.1,
unordered-containers ^>=0.2.19,
row-types ^>=1.0.1,
directory ^>=1.3.6,
filepath ^>=1.4.2,
template-haskell ^>=2.16.0 || ^>=2.17.0 || ^>=2.18.0 || ^>=2.19.0 || ^>=2.20.0 || ^>=2.21.0
test-suite doctest
type: exitcode-stdio-1.0
main-is: doctests.hs
default-language: Haskell2010
ghc-options: -threaded
build-depends:
base ^>=4.14.3 || ^>=4.15.1 || ^>=4.16.3 || ^>=4.17.0 || ^>=4.18.1 || ^>=4.19.0,
candid,
doctest ^>=0.20.1 || ^>=0.21.1 || ^>=0.22.2,
row-types ^>=1.0.1,
leb128-cereal ^>=1.2,
prettyprinter ^>=1.7.1
source-repository head
type: git
location: https://github.com/nomeata/haskell-cabal