-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathgreskell-websocket.cabal
133 lines (125 loc) · 6.46 KB
/
greskell-websocket.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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
name: greskell-websocket
version: 1.0.0.4
author: Toshio Ito <[email protected]>
maintainer: Toshio Ito <[email protected]>
license: BSD3
license-file: LICENSE
synopsis: Haskell client for Gremlin Server using WebSocket serializer
description: Haskell client for [Gremlin Server](http://tinkerpop.apache.org/docs/current/reference/#gremlin-server) using WebSocket serializer.
See [README.md](https://github.com/debug-ito/greskell/blob/master/README.md) for detail.
.
This package is based on [greskell-core](http://hackage.haskell.org/package/greskell-core),
and best used with [greskell](http://hackage.haskell.org/package/greskell) package.
category: Network
cabal-version: 2.0
build-type: Simple
extra-source-files: README.md, ChangeLog.md,
test/samples/*.json
homepage: https://github.com/debug-ito/greskell/
bug-reports: https://github.com/debug-ito/greskell/issues/
library
default-language: Haskell2010
hs-source-dirs: src
ghc-options: -Wall -fno-warn-unused-imports
-- default-extensions:
other-extensions: OverloadedStrings, DuplicateRecordFields, DataKinds, TypeApplications,
DeriveGeneric, PartialTypeSignatures, FlexibleContexts,
CPP
exposed-modules: Network.Greskell.WebSocket,
Network.Greskell.WebSocket.Connection,
Network.Greskell.WebSocket.Connection.Settings,
Network.Greskell.WebSocket.Request,
Network.Greskell.WebSocket.Request.Common,
Network.Greskell.WebSocket.Request.Standard,
Network.Greskell.WebSocket.Request.Session,
Network.Greskell.WebSocket.Response,
Network.Greskell.WebSocket.Codec,
Network.Greskell.WebSocket.Codec.JSON
Network.Greskell.WebSocket.Client,
Network.Greskell.WebSocket.Client.Options
other-modules: Network.Greskell.WebSocket.Request.Aeson,
Network.Greskell.WebSocket.Connection.Impl,
Network.Greskell.WebSocket.Connection.Type,
Network.Greskell.WebSocket.Client.Impl,
Network.Greskell.WebSocket.Util
build-depends: base ^>=4.13.0 || ^>=4.14.0 || ^>=4.15.0 || ^>=4.16.0 || ^>=4.17.0 || ^>=4.18.0 || ^>=4.19.0 || ^>=4.20.0 || ^>=4.21.0,
greskell-core ^>=1.0.0,
bytestring ^>=0.10.9 || ^>=0.11.3 || ^>=0.12.0,
base64-bytestring ^>=1.2.1,
text ^>=1.2.3 || ^>=2.0.2 || ^>=2.1,
aeson ^>=2.0.2 || ^>=2.1.0 || ^>=2.2.3,
unordered-containers ^>=0.2.15,
uuid ^>=1.3.15,
async ^>=2.2.4,
stm ^>=2.5.0,
websockets ^>=0.12.7 || ^>=0.13.0,
hashtables ^>=1.3 || ^>=1.4.0,
safe-exceptions ^>=0.1.7,
vector ^>=0.12.3 || ^>=0.13.0
-- executable greskell-websocket
-- default-language: Haskell2010
-- hs-source-dirs: app
-- main-is: Main.hs
-- ghc-options: -Wall -fno-warn-unused-imports
-- -- other-modules:
-- -- default-extensions:
-- -- other-extensions:
-- build-depends: base
test-suite spec
type: exitcode-stdio-1.0
default-language: Haskell2010
hs-source-dirs: test
ghc-options: -Wall -fno-warn-unused-imports "-with-rtsopts=-M512m"
main-is: Spec.hs
-- default-extensions:
other-extensions: OverloadedStrings, DuplicateRecordFields,
NoMonomorphismRestriction
other-modules: Network.Greskell.WebSocket.Codec.JSONSpec,
Network.Greskell.WebSocket.ResponseSpec
build-tool-depends: hspec-discover:hspec-discover
build-depends: base ^>=4.13.0 || ^>=4.14.0 || ^>=4.15.0 || ^>=4.16.0 || ^>=4.17.0 || ^>=4.18.0 || ^>=4.19.0 || ^>=4.20.0 || ^>=4.21.0,
greskell-websocket,
aeson ^>=2.0.2 || ^>=2.1.0 || ^>=2.2.3,
uuid ^>=1.3.15,
bytestring ^>=0.10.9 || ^>=0.11.3 || ^>=0.12.0,
unordered-containers ^>=0.2.15,
vector ^>=0.12.3 || ^>=0.13.0,
greskell-core ^>=1.0.0,
hspec ^>=2.9.1 || ^>=2.10.6 || ^>=2.11.9
flag server-test
description: Do test with a Gremlin Server
default: False
test-suite server-test
type: exitcode-stdio-1.0
default-language: Haskell2010
hs-source-dirs: test
ghc-options: -Wall -fno-warn-unused-imports "-with-rtsopts=-M512m"
-threaded
main-is: ServerTest.hs
-- default-extensions:
-- other-extensions:
other-modules: TestUtil.TCounter,
TestUtil.Env,
TestUtil.MockServer,
ServerTest.Connection,
ServerTest.Client
if flag(server-test)
build-depends: base ^>=4.13.0 || ^>=4.14.0 || ^>=4.15.0 || ^>=4.16.0 || ^>=4.17.0 || ^>=4.18.0 || ^>=4.19.0 || ^>=4.20.0 || ^>=4.21.0,
greskell-websocket,
greskell-core ^>=1.0.0,
aeson ^>=2.0.2 || ^>=2.1.0 || ^>=2.2.3,
uuid ^>=1.3.15,
unordered-containers ^>=0.2.15,
text ^>=1.2.3 || ^>=2.0.2 || ^>=2.1,
async ^>=2.2.4,
safe-exceptions ^>=0.1.7,
websockets ^>=0.12.7 || ^>=0.13.0,
bytestring ^>=0.10.9 || ^>=0.11.3 || ^>=0.12.0,
stm ^>=2.5.0,
vector ^>=0.12.3 || ^>=0.13.0,
hspec ^>=2.9.1 || ^>=2.10.6 || ^>=2.11.9
else
buildable: False
source-repository head
type: git
location: https://github.com/debug-ito/greskell.git