cabal-version:      1.12
name:               okapi
version:            0.1.0.0
license:            BSD3
license-file:       LICENSE
copyright:          2022 Monadic Systems LLC
maintainer:         tech@monadic.systems
author:             Monadic Systems LLC
homepage:           https://github.com/githubuser/okapi#readme
bug-reports:        https://github.com/githubuser/okapi/issues
synopsis:           A microframework based on monadic parsing
description:
    Please see the README on GitHub at <https://github.com/githubuser/okapi#readme>

category:           Web
build-type:         Simple
extra-source-files:
    README.md
    ChangeLog.md

source-repository head
    type:     git
    location: https://github.com/githubuser/okapi

library
    exposed-modules:
        Okapi
        Okapi.EventSource
        Okapi.Function
        Okapi.Type

    hs-source-dirs:   src
    other-modules:    Paths_okapi
    default-language: Haskell2010
    build-depends:
        aeson >=2.0.3.0 && <2.1,
        base >=4.7 && <5,
        base64 >=0.4.2.3 && <0.5,
        bytestring >=0.10.12.1 && <0.11,
        containers >=0.6.4.1 && <0.7,
        http-api-data >=0.4.3 && <0.5,
        http-types >=0.12.3 && <0.13,
        lucid >=2.11.0 && <2.12,
        mmorph >=1.1.5 && <1.2,
        mtl >=2.2.2 && <2.3,
        random >=1.2.1 && <1.3,
        stm >=2.5.0.0 && <2.6,
        text >=1.2.5.0 && <1.3,
        transformers >=0.5.6.2 && <0.6,
        unagi-chan >=0.4.1.4 && <0.5,
        uuid >=1.3.15 && <1.4,
        vault >=0.3.1.5 && <0.4,
        wai >=3.2.3 && <3.3,
        wai-extra >=3.1.8 && <3.2,
        warp >=3.3.20 && <3.4,
        warp-tls >=3.3.2 && <3.4

test-suite okapi-test
    type:             exitcode-stdio-1.0
    main-is:          Spec.hs
    hs-source-dirs:   test
    other-modules:    Paths_okapi
    default-language: Haskell2010
    ghc-options:      -threaded -rtsopts -with-rtsopts=-N
    build-depends:
        aeson >=2.0.3.0 && <2.1,
        base >=4.7 && <5,
        base64 >=0.4.2.3 && <0.5,
        bytestring >=0.10.12.1 && <0.11,
        containers >=0.6.4.1 && <0.7,
        http-api-data >=0.4.3 && <0.5,
        http-types >=0.12.3 && <0.13,
        lucid >=2.11.0 && <2.12,
        mmorph >=1.1.5 && <1.2,
        mtl >=2.2.2 && <2.3,
        okapi -any,
        random >=1.2.1 && <1.3,
        stm >=2.5.0.0 && <2.6,
        text >=1.2.5.0 && <1.3,
        transformers >=0.5.6.2 && <0.6,
        unagi-chan >=0.4.1.4 && <0.5,
        uuid >=1.3.15 && <1.4,
        vault >=0.3.1.5 && <0.4,
        wai >=3.2.3 && <3.3,
        wai-extra >=3.1.8 && <3.2,
        warp >=3.3.20 && <3.4,
        warp-tls >=3.3.2 && <3.4