json-rpc-server 0.2.1.0 → 0.2.2.0
raw patch · 2 files changed
+8/−7 lines, 2 filesdep ~HUnitdep ~aesonPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: HUnit, aeson
API changes (from Hackage documentation)
Files
json-rpc-server.cabal view
@@ -2,7 +2,7 @@ -- documentation, see http://haskell.org/cabal/users-guide/ name: json-rpc-server-version: 0.2.1.0+version: 0.2.2.0 license: MIT license-file: LICENSE category: Network, JSON@@ -37,7 +37,7 @@ exposed-modules: Network.JsonRpc.Server other-modules: Network.JsonRpc.Types build-depends: base >=4.3 && <4.9,- aeson >=0.6 && <0.10,+ aeson >=0.6 && <0.11, deepseq >= 1.1 && <1.5, bytestring >=0.9 && <0.11, mtl >=2.2.1 && <2.3,@@ -65,10 +65,10 @@ type: exitcode-stdio-1.0 build-depends: base >=4.3 && <4.9, json-rpc-server,- HUnit >=1.2 && <1.3,+ HUnit >=1.2 && <1.4, test-framework >=0.7 && <0.9, test-framework-hunit >=0.3 && <0.4,- aeson >=0.6 && <0.10,+ aeson >=0.6 && <0.11, bytestring >=0.9 && <0.11, mtl >=2.2.1 && <2.3, text >=0.11 && <1.3,
src/Network/JsonRpc/Server.hs view
@@ -67,9 +67,10 @@ -- by-name arguments are ignored. -- $example--- Here is an example with three JSON-RPC methods. It reads requests--- from stdin and writes responses to stdout. Compile it with the--- build flag @demo@.+-- Here is an example with three JSON-RPC methods that all have+-- access to an 'MVar' counter. The program reads requests from+-- stdin and writes responses to stdout. Compile it with the build+-- flag @demo@. -- -- > {-# LANGUAGE OverloadedStrings #-} -- >