-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathextism-pdk.cabal
73 lines (61 loc) · 1.88 KB
/
extism-pdk.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
cabal-version: 3.0
name: extism-pdk
version: 1.2.0.0
-- A short (one-line) description of the package.
synopsis: Extism Plugin Development Kit
-- A longer description of the package.
description: Haskell bindings to the Extism runtime for use with wasm32-wasi-ghc
-- A URL where users can report bugs.
bug-reports: https://github.com/extism/haskell-pdk
-- The license under which the package is released.
license: BSD-3-Clause
author: Extism Authors
maintainer: [email protected]
category: WASM, plugins
extra-doc-files: CHANGELOG.md
library
exposed-modules:
Extism.PDK
Extism.PDK.Bindings
Extism.PDK.HTTP
Extism.PDK.JSON
Extism.PDK.MsgPack
Extism.PDK.Util
Extism.PDK.Memory
-- Modules included in this executable, other than Main.
-- other-modules:
-- LANGUAGE extensions used by modules in this package.
-- other-extensions:
build-depends:
base >= 4.15.0 && < 5,
bytestring >= 0.11.4 && <= 0.12,
cereal >= 0.5.8 && < 0.6,
containers >= 0.6.7 && < 0.7,
extism-manifest >= 1.0.0 && < 2.0.0,
json >= 0.11 && < 0.12,
messagepack >= 0.5.5 && < 0.6,
binary >= 0.8.9 && < 0.9.0
hs-source-dirs: src
default-language: Haskell2010
c-sources: src/extism-pdk.c
executable hello
scope: private
main-is: examples/Hello.hs
build-depends: base, extism-pdk
default-language: Haskell2010
ghc-options:
-optl -Wl,--export=testing
executable http_get
scope: private
main-is: examples/HTTPGet.hs
build-depends: base, extism-pdk
default-language: Haskell2010
ghc-options:
-optl -Wl,--export=http_get
executable count_vowels
scope: private
main-is: examples/CountVowels.hs
build-depends: base, extism-pdk
default-language: Haskell2010
ghc-options:
-optl -Wl,--export=count_vowels