cabal-version: 3.0
name: cgroup-rts-threads
version: 0.1.0.0
synopsis:
A container-/cgroup-aware substitute for the GHC RTS `-N` flag
description:
This library provides a container-/cgroup-aware substitute for the GHC RTS
`-N` flag. See the README for details.
homepage: https://github.com/cnr/cgroup-rts-threads
bug-reports: https://github.com/cnr/cgroup-rts-threads/issues
license: MPL-2.0
license-file: LICENSE
category: Concurrency
author: Connor James
maintainer: connornjames@gmail.com
extra-source-files:
CHANGELOG.md
README.md
source-repository head
type: git
location: https://github.com/cnr/cgroup-rts-threads.git
common lang
default-language: Haskell2010
default-extensions:
OverloadedStrings
ScopedTypeVariables
ghc-options:
-Wall -Wincomplete-uni-patterns -Wcompat
-Wincomplete-record-updates -Wmissing-home-modules
-Wmissing-export-lists -Wredundant-constraints
library
import: lang
-- cabal-fmt: expand src
exposed-modules:
Control.Concurrent.CGroup
System.CGroup
System.CGroup.CPU
System.CGroup.Controller
System.CGroup.Controller.Internal
build-depends:
, base >=4.13 && <5
, megaparsec >=8 && <10
, path >=0.7 && <0.10
, text
hs-source-dirs: src
test-suite test
import: lang
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Main.hs
other-modules:
System.CGroup.CPUSpec
System.CGroup.ControllerSpec
build-depends:
, base
, cgroup-rts-threads
, hspec-core ^>=2.8.3
, hspec-expectations ^>=0.8.2
, path
, path-io