Skip to content
package.yaml 1.12 KiB
Newer Older
name:                io-thread-pool
version:             0.2.1.0
git:                 "https://gitlab.emacsos.com/sylecn/io-thread-pool"
license:             BSD3
author:              "Yuanle Song"
maintainer:          "sylecn@gmail.com"
copyright:           "Copyright: (c) 2018, 2019, 2022 Yuanle Song"

extra-source-files:
- README.md
- ChangeLog.md

# Metadata used when publishing your package
# synopsis:            Short description of your package
# category:            Utilities

# To avoid duplicated efforts in documentation and dealing with the
# complications of embedding Haddock markup inside cabal files, it is
# common to point users to the README.md file.
Yuanle Song's avatar
Yuanle Song committed
description:         Please see the README at <https://gitlab.emacsos.com/sylecn/io-thread-pool#io-thread-pool>

ghc-options:
  - -Wall
  - -Werror

default-extensions:
  - OverloadedStrings
  - ScopedTypeVariables

dependencies:
- base >= 4.7 && < 5
- async

library:
  source-dirs: src

executables:
  example-use:
    main: Main.hs
    source-dirs:
    - app
    ghc-options:
    - -threaded
Yuanle Song's avatar
Yuanle Song committed
    - -rtsopts
    - -with-rtsopts=-N
    dependencies:
    - io-thread-pool