name: jsonrpc-conduit version: 0.2.5 synopsis: JSON-RPC 2.0 server over a Conduit. description: @jsonrpc-conduit@ implements the basic building block of a JSON-RPC 2.0 server. . It provides a @Conduit@ that consumes RPC requests and invokes user-provided functions to handle them. Conversion of values to and from JSON is almost completely automatic thanks to the @aeson@ library. . The JSON-RPC conduit is generic with respect to the channel used to exchange data with the client. It can use a network connection or, for example, the standard input / ouput of a process. The latter is demonstrated by the @jsonrpc-conduit-demo@ executable, which can be compiled using the @demo@ flag. license: GPL-3 license-file: LICENSE author: Gabriele Sales maintainer: gbrsales@gmail.com category: Conduit build-type: Simple cabal-version: >=1.8 source-repository head type: git location: https://github.com/gbrsales/jsonrpc-conduit.git flag demo description: Build the demo executable. default: False library exposed-modules: Data.Conduit.JsonRpc.Methods, Data.Conduit.JsonRpc.Server build-depends: base >=4 && <5, aeson ==0.7.*, attoparsec ==0.11.*, bytestring ==0.10.*, conduit ==1.1.*, conduit-extra ==1.1.*, mtl >=2.1 && <2.3, text ==1.1.*, transformers >=0.3 && <0.5, unordered-containers ==0.2.* executable jsonrpc-conduit-demo if !flag(demo) buildable: False main-is: Data/Conduit/JsonRpc/Demo.hs other-modules: Data.Conduit.JsonRpc.Methods, Data.Conduit.JsonRpc.Server build-depends: base >=4 && <5, aeson ==0.7.*, attoparsec ==0.11.*, bytestring ==0.10.*, conduit ==1.1.*, conduit-extra ==1.1.*, mtl >=2.1 && <2.3, text ==1.1.*, transformers >=0.3 && <0.5, unordered-containers ==0.2.*