cabal-version: 3.8 name: haskell-interop-demo version: 0.1.0.0 license: MIT build-type: Simple common common default-language: GHC2021 ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints build-depends: base >= 4.18 && < 5 library import: common hs-source-dirs: src exposed-modules: Interop.Exports Interop.Shared foreign-library interop_hs import: common type: native-shared options: standalone ghc-options: -dynamic hs-source-dirs: src other-modules: Interop.Exports Interop.Shared executable haskell-calls-rust import: common main-is: Main.hs hs-source-dirs: app src other-modules: RustClient Interop.Shared ghc-options: -threaded -rtsopts -with-rtsopts=-N extra-lib-dirs: ../target/debug ../target/release extra-libraries: integrations test-suite haskell-interop-demo-test import: common type: exitcode-stdio-1.0 main-is: Spec.hs hs-source-dirs: test src other-modules: Interop.Shared build-depends: haskell-interop-demo