cabal-version:       2.2
name:                ocap-io
version:             0.1.1.0
synopsis:            Object capability based IO
description:
  Object capability based IO.
  .
  See <https://github.com/zenhack/haskell-ocap> for more info.
homepage:            https://github.com/zenhack/haskell-ocap
license:             Apache-2.0
license-file:        LICENSE
author:              Ian Denhardt
maintainer:          ian@zenhack.net
copyright:           2020 Ian Denhardt
build-type:          Simple
extra-source-files:
    CHANGELOG.md
  , README.md

source-repository head
  type:     git
  branch:   master
  location: https://github.com/zenhack/haskell-ocap

common shared-opts
  build-depends:       base >=4.12 && <5
  default-language:    Haskell2010

library
  import: shared-opts
  hs-source-dirs:      src
  exposed-modules:
      OCap.IO
    , OCap.IO.Unsafe
  other-modules:
      OCap.IO.Internal

test-suite tests
  import: shared-opts
  build-depends: ocap-io
  type: exitcode-stdio-1.0
  hs-source-dirs: tests
  main-is: Main.hs