packages feed

markup-parse-0.1.1.1: markup-parse.cabal

cabal-version: 3.0
name: markup-parse
version: 0.1.1.1
license: BSD-3-Clause
license-file: LICENSE
copyright: Copyright, Tony Day, 2023-
category: project
author: Tony Day
maintainer: tonyday567@gmail.com
homepage: https://github.com/tonyday567/markup-parse#readme
bug-reports: https://github.com/tonyday567/markup-parse/issues
synopsis: A markup parser.
description:
    A markup parser and printer, from and to strict bytestrings, optimised for speed.
build-type: Simple
tested-with:
    , GHC == 9.10.1
    , GHC == 9.6.5
    , GHC == 9.8.2
extra-doc-files:
    ChangeLog.md
    other/*.html
    other/*.svg
    readme.md

source-repository head
    type: git
    location: https://github.com/tonyday567/markup-parse

common ghc-options-exe-stanza
    ghc-options:
        -fforce-recomp
        -funbox-strict-fields
        -rtsopts
        -threaded

common ghc-options-stanza
    ghc-options:
        -Wall
        -Wcompat
        -Wincomplete-record-updates
        -Wincomplete-uni-patterns
        -Wredundant-constraints

common ghc2021-stanza
    default-language: GHC2021

library
    import: ghc-options-stanza
    import: ghc2021-stanza
    hs-source-dirs: src
    build-depends:
        , base               >=4.14 && <5
        , bytestring         >=0.11.3 && <0.13
        , containers         >=0.6 && <0.8
        , deepseq            >=1.4.4 && <1.6
        , flatparse          >=0.3.5 && <0.6
        , string-interpolate >=0.3 && <0.4
        , tasty              >=1.2 && <1.6
        , tasty-golden       >=2.3.1.1 && <2.4
        , these              >=1.1 && <1.3
        , tree-diff          >=0.3 && <0.4
    exposed-modules:
        MarkupParse
        MarkupParse.FlatParse
        MarkupParse.Patch

test-suite doctests
    import: ghc2021-stanza
    main-is: doctests.hs
    hs-source-dirs: test
    build-depends:
        , base             >=4.14 && <5
        , doctest-parallel >=0.3 && <0.4
    ghc-options: -threaded
    type: exitcode-stdio-1.0

test-suite markup-parse-diff
    import: ghc-options-exe-stanza
    import: ghc-options-stanza
    import: ghc2021-stanza
    main-is: diff.hs
    hs-source-dirs: app
    build-depends:
        , base               >=4.14 && <5
        , bytestring         >=0.11.3 && <0.13
        , markup-parse
        , string-interpolate >=0.3 && <0.4
        , tasty              >=1.2 && <1.6
        , tasty-golden       >=2.3.1.1 && <2.4
        , tree-diff          >=0.3 && <0.4
    type: exitcode-stdio-1.0