-
Notifications
You must be signed in to change notification settings - Fork 6
/
json-rpc-server.cabal
88 lines (83 loc) · 3.42 KB
/
json-rpc-server.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
name: json-rpc-server
version: 0.2.6.0
x-revision: 8
license: MIT
license-file: LICENSE
category: Network, JSON
maintainer: Kristen Kozak <[email protected]>
synopsis: JSON-RPC 2.0 on the server side.
build-type: Simple
extra-source-files: changelog.md
cabal-version: >=1.8
tested-with: GHC == 7.0.1, GHC == 7.6.3, GHC == 7.8.4, GHC == 7.10.1,
GHC == 7.10.2, GHC == 7.10.3, GHC == 8.0.1, GHC == 8.0.2,
GHC == 8.2.2, GHC == 8.4.1, GHC == 8.4.4, GHC == 8.6.1,
GHC == 8.8.1, GHC == 8.8.4, GHC == 8.10.1, GHC == 8.10.2
homepage: https://github.com/grayjay/json-rpc-server
bug-reports: https://github.com/grayjay/json-rpc-server/issues
description: An implementation of the server side of JSON-RPC 2.0.
See <http://www.jsonrpc.org/specification>. This
library uses 'ByteString' for input and output,
leaving the choice of transport up to the user.
See the "Network.JsonRpc.Server" module for an example.
json-rpc-server can be used with
<http://hackage.haskell.org/package/json-rpc-client json-rpc-client>
to create a client and server that communicate
with the same methods.
source-repository head
type: git
location: git://github.com/grayjay/json-rpc-server.git
flag demo
description: Builds the JSON-RPC demo.
default: False
manual: True
library
exposed-modules: Network.JsonRpc.Server
other-modules: Network.JsonRpc.Types
build-depends: base >=4.3 && <4.15,
aeson >=0.6 && <1.6,
deepseq >= 1.1 && <1.5,
bytestring >=0.9 && <0.11,
mtl >=2.2.1 && <2.3,
text >=0.11 && <1.3,
vector >=0.7.1 && <0.13,
unordered-containers >=0.1 && <0.3
hs-source-dirs: src
ghc-options: -Wall
other-extensions: CPP,
FlexibleInstances,
FunctionalDependencies,
OverloadedStrings,
Rank2Types,
TypeOperators,
TypeSynonymInstances,
UndecidableInstances
executable demo
main-is: Demo.hs
hs-source-dirs: demo
if flag (demo)
build-depends: base,
json-rpc-server,
bytestring,
mtl
other-extensions: OverloadedStrings
else
buildable: False
test-suite tests
hs-source-dirs: tests
main-is: TestSuite.hs
other-modules: TestParallelism, Internal
type: exitcode-stdio-1.0
build-depends: base,
json-rpc-server,
HUnit >=1.2 && <1.7,
test-framework >=0.7 && <0.9,
test-framework-hunit >=0.3 && <0.4,
aeson,
bytestring,
mtl,
text,
vector,
unordered-containers
ghc-options: -Wall
other-extensions: CPP, OverloadedStrings