packages feed

json-rpc-0.7.0.2: json-rpc.cabal

name:                   json-rpc
version:                0.7.0.2
synopsis:               Fully-featured JSON-RPC 2.0 library
description:
  This JSON-RPC library is fully-compatible with JSON-RPC 2.0 and 1.0. It
  provides an interface that combines a JSON-RPC client and server. It can set
  and keep track of request ids to parse responses. There is support for
  sending and receiving notifications.  You may use any underlying transport.
  Basic TCP client and server provided.
homepage:               https://github.com/xenog/json-rpc
license:                PublicDomain
license-file:           UNLICENSE
author:                 Jean-Pierre Rupp
maintainer:             root@haskoin.com
category:               Network
build-type:             Simple
extra-source-files:     README.md
cabal-version:          >= 1.10

source-repository head
  type:                 git
  location:             https://github.com/xenog/json-rpc.git

source-repository this
  type:                 git
  location:             https://github.com/xenog/json-rpc.git
  tag:                  0.7.0.2

library
  exposed-modules:      Network.JsonRpc
  other-modules:        Network.JsonRpc.Data,
                        Network.JsonRpc.Interface
                        Network.JsonRpc.Arbitrary
  build-depends:        base                        >= 4.6      && < 5,
                        aeson                       >= 0.7      && < 0.10,
                        attoparsec                  >= 0.11,
                        bytestring                  >= 0.10     && < 0.11,
                        conduit                     >= 1.2      && < 1.3,
                        conduit-extra               >= 1.1      && < 1.2,
                        deepseq                     >= 1.3      && < 1.5,
                        hashable                    >= 1.1      && < 1.3,
                        lifted-async                >= 0.7      && < 0.8,
                        monad-control               >= 0.3      && < 1.1,
                        monad-logger                >= 0.3      && < 0.4,
                        mtl                         >= 2.1      && < 2.3,
                        stm                         >= 2.4      && < 2.5,
                        stm-conduit                 >= 2.5      && < 2.7,
                        text                        >= 0.11     && < 1.3,
                        transformers                >= 0.3,
                        unordered-containers        >= 0.2      && < 0.3,
                        vector                      >= 0.10     && < 0.11,
                        QuickCheck                  >= 2.6      && < 2.9
  default-language:     Haskell2010
  ghc-options:          -Wall

test-suite test-json-rpc
  hs-source-dirs:       test
  type:                 exitcode-stdio-1.0 
  main-is:              main.hs
  other-modules:        Network.JsonRpc.Tests
  build-depends:        base                        >= 4.6      && < 5,
                        aeson                       >= 0.7      && < 0.10,
                        bytestring                  >= 0.10     && < 0.11,
                        conduit                     >= 1.2      && < 1.3,
                        json-rpc,
                        lifted-async                >= 0.7      && < 0.8,
                        monad-logger                >= 0.3      && < 0.4,
                        mtl                         >= 2.1      && < 2.3,
                        text                        >= 0.11     && < 1.3,
                        unordered-containers        >= 0.2      && < 0.3,
                        stm                         >= 2.4      && < 2.5,
                        stm-conduit                 >= 2.5      && < 2.7,
                        transformers                >= 0.3,
                        QuickCheck                  >= 2.6      && < 2.9,
                        test-framework              >= 0.8      && < 0.9,
                        test-framework-quickcheck2  >= 0.3      && < 0.4
  default-language:     Haskell2010
  ghc-options:          -Wall