packages feed

aeson-possible-0.1.0.1: aeson-possible.cabal

cabal-version:      3.0
name:               aeson-possible
version:            0.1.0.1
synopsis:           Possible values for aeson
description:        Three-valued possible types for use with aeson.
                    Useful for use in PATCH endpoints.
homepage:           https://github.com/jonathanjouty/aeson-possible
license:            BSD-3-Clause
license-file:       LICENSE
author:             Jonathan Jouty
maintainer:         Jonathan Jouty <me@jonathanjouty.com>
category:           Data, Web, JSON
build-type:         Simple
extra-doc-files:    CHANGELOG.md, README.md
tested-with:
  GHC == 9.4
   || == 9.6
   || == 9.8

common extensions
    default-extensions:
      DeriveFunctor
      DeriveGeneric
      DerivingVia
      GeneralizedNewtypeDeriving
      OverloadedStrings

common warnings
    ghc-options: -Wall

library
    import:           extensions
    import:           warnings
    exposed-modules:  Data.Aeson.Possible
    build-depends:
        base >= 4.17 && < 5,
        aeson == 2.2.*,
    hs-source-dirs:   src
    default-language: Haskell2010

test-suite aeson-possible-test
    import:           extensions
    import:           warnings
    default-language: Haskell2010
    type:             exitcode-stdio-1.0
    hs-source-dirs:   test
    main-is:          Main.hs
    build-depends:
        base >= 4.17 && < 5,
        aeson-possible,
        aeson,
        tasty == 1.*,
        QuickCheck,
        tasty-hunit,
        tasty-quickcheck,
        tasty-quickcheck-laws,

source-repository head
  type:     git
  location: git@github.com:jonathanjouty/aeson-possible.git