aboutsummaryrefslogtreecommitdiff
path: root/hsm-gpio/hsm-gpio.cabal
diff options
context:
space:
mode:
authorPaul Oliver <contact@pauloliver.dev>2025-07-02 15:06:35 +0200
committerPaul Oliver <contact@pauloliver.dev>2025-08-13 23:54:10 +0000
commit8fe62292f18f4577303a868a8557b0486b218bcb (patch)
treecb9a9108eea479e932f37d03cf399b680e3886b2 /hsm-gpio/hsm-gpio.cabal
parent0be7f1274e0cb8406bd4262b86d5e2e9dda77d7a (diff)
Code now uses `effectful` to manage side-effects
Diffstat (limited to 'hsm-gpio/hsm-gpio.cabal')
-rw-r--r--hsm-gpio/hsm-gpio.cabal19
1 files changed, 11 insertions, 8 deletions
diff --git a/hsm-gpio/hsm-gpio.cabal b/hsm-gpio/hsm-gpio.cabal
index 786977a..b38a777 100644
--- a/hsm-gpio/hsm-gpio.cabal
+++ b/hsm-gpio/hsm-gpio.cabal
@@ -1,4 +1,4 @@
-cabal-version: 3.4
+cabal-version: 3.8
author: Paul Oliver
build-type: Simple
maintainer: contact@pauloliver.dev
@@ -8,14 +8,17 @@ version: 0.1.0.0
library
build-depends:
, base
- , bytestring
+ , effectful-core
+ , effectful-plugin
+ , hsm-core
, hsm-log
- , io-region
- , text
+ , resourcet-effectful
, vector
+ default-language: GHC2024
exposed-modules: Hsm.GPIO
- other-modules: Hsm.GPIO.Lib
- ghc-options: -Wall -Wunused-packages
- extra-libraries: gpiod
- default-language: GHC2021
+ ghc-options:
+ -O2 -Wall -Werror -Wno-star-is-type -Wunused-packages
+ -ddump-splices -fplugin=Effectful.Plugin
+
+ other-modules: Hsm.GPIO.FFI