jsonlogic-aeson-0.1.0.0: jsonlogic-aeson.cabal
cabal-version: 2.4
name: jsonlogic-aeson
version: 0.1.0.0
synopsis: JsonLogic Aeson Support
description: JsonLogic Aeson allows for the translation
of JsonLogic json to Aeson json.and vice versa.
category: JSON
bug-reports: https://github.com/JTeeuwissen/json-logic-haskell
license: MIT
license-file: LICENSE
author: Marien Matser, Gerard van Schie, Jelle Teeuwissen
maintainer: jelleteeuwissen@hotmail.nl
extra-source-files:
CHANGELOG.md
README.md
flag error
description: Error on ghc warnings
manual: True
default: False
library
exposed-modules:
JsonLogic.Aeson
default-language:
Haskell2010
ghc-options:
-Wall -Wno-orphans
hs-source-dirs:
src
build-depends:
base >= 4.14.3 && < 5,
jsonlogic >= 0.1.0 && < 0.2,
aeson >= 2.0.3 && < 2.1,
bytestring >= 0.11.3 && < 0.12,
containers >= 0.6.5 && < 0.7,
text >= 2.0 && < 2.1,
scientific >= 0.3.7 && < 0.4,
vector >= 0.12.3 && < 0.13,
aeson-pretty >= 0.8.9 && < 0.9,
utf8-string >= 1.0.2 && < 1.1
if flag(error)
ghc-options:
-Werror
Test-Suite jsonlogic-aeson-tests
main-is:
Test.hs
default-language:
Haskell2010
ghc-options:
-Wall
type:
exitcode-stdio-1.0
hs-source-dirs:
test
other-modules:
Generator,
Utils
build-depends:
base >= 4.14.3.0,
jsonlogic,
jsonlogic-aeson,
tasty,
tasty-hunit >= 0.10.0.3,
tasty-hedgehog >= 1.2.0.0,
hedgehog >= 1.1.1,
containers
if flag(error)
ghc-options:
-Werror