packages feed

serdoc-core-0.3.2.0: serdoc-core.cabal

cabal-version:      3.0
name:               serdoc-core
version:            0.3.2.0
synopsis:           Generated documentation of serialization formats
description:        A set of typeclasses, primitives, combinators, and TH
                    utilities for documenting serialization formats in a mostly
                    automatic fashion.
license:            Apache-2.0
license-file:       LICENSE
author:             Tobias Dammers
maintainer:         tobias@well-typed.com
copyright:          2023 IO Global
category:           Data
build-type:         Simple
extra-doc-files:    README.md
               ,    CHANGELOG.md
-- extra-source-files:

common warnings
    ghc-options: -Wall

common project-config
    ghc-options:
        -haddock
        -- -ddump-splices

library
    import: project-config
    import: warnings
    exposed-modules: Data.SerDoc.Class
                   , Data.SerDoc.Info
                   , Data.SerDoc.TestUtil
                   , Data.SerDoc.TH
    build-depends: base >=4.14.0.0 && <5
                 , bytestring >=0.11 && <0.13
                 , containers >=0.6 && <0.9
                 , text >=1.1 && <2.2
                 , template-haskell >=2.16 && <2.24
                 , th-abstraction >=0.6 && <0.8
    hs-source-dirs:   src
    default-language: Haskell2010

test-suite serdoc-test
    import: project-config
    import: warnings
    default-language: Haskell2010
    other-modules: Data.SerDoc.Test.Class
                 , Data.SerDoc.Test.Info
    -- other-extensions:
    type:             exitcode-stdio-1.0
    hs-source-dirs:   test
    main-is:          Main.hs
    build-depends: base >=4.14.0.0 && <5
                 , serdoc-core
                 , bytestring >=0.11 && <0.13
                 , mtl >=2.3.1 && <2.4
                 , tasty >=1.5 && <1.6
                 , tasty-quickcheck >=0.10.3 && <0.12