From 8fe62292f18f4577303a868a8557b0486b218bcb Mon Sep 17 00:00:00 2001 From: Paul Oliver Date: Wed, 2 Jul 2025 15:06:35 +0200 Subject: Code now uses `effectful` to manage side-effects --- hsm-gpio/hsm-gpio.cabal | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) (limited to 'hsm-gpio/hsm-gpio.cabal') 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 -- cgit v1.2.1