mirror of
https://github.com/unclechu/gRPC-haskell.git
synced 2024-06-28 15:38:36 +02:00
* grpc_server_request_call * basic slice functionality * rename function to emphasize side effects * add docs * ByteBuffer function bindings * replace unsafeCoerce with more specific function, add docs, tests. * add newtypes for Tag and Reserved void pointers * manually fix request_registered_call binding * use nocode keyword to fix Ptr () problems * decouple copying Slice from freeing slice * Add time ops * remove nocode decls * Start Op module, fix c2hs preprocessing order * metadata manipulation operations * metadata free function, test * helper functions for constructing ops of each type * bindings for op creation functions * finish up Op creation functions, implement Op destruction, add docs. * tweak documentation * rework Op creation functions to work with an array of ops, for ease of use with grpc_call_start_batch * forgot to change return types * wrap hook lines, fix types to op creation functions * implement part of the payload test * hideous, but working, end to end test * bindings for connectivity state checks, split test into two threads * various cleanup * rename Core to Unsafe for emphasis, clean up tests more * add requested comment * remove slice_unref binding, use sliceFree when converting buffer to bytestring
63 lines
1.7 KiB
Plaintext
63 lines
1.7 KiB
Plaintext
name: grpc-haskell
|
|
version: 0.0.0.0
|
|
synopsis: Haskell implementation of gRPC layered on shared C library.
|
|
-- description:
|
|
homepage: http://github.com/aloiscochard/grpc-haskell
|
|
license: Apache-2.0
|
|
license-file: LICENSE
|
|
author: Alois Cochard
|
|
maintainer: alois.cochard@gmail.com
|
|
copyright: Copyright 2015 Alois Cochard
|
|
category: Network
|
|
build-type: Simple
|
|
cabal-version: >=1.10
|
|
extra-source-files: cbits, include
|
|
|
|
library
|
|
build-depends:
|
|
base ==4.8.*
|
|
, clock ==0.6.*
|
|
, bytestring ==0.10.*
|
|
c-sources:
|
|
cbits/grpc_haskell.c
|
|
exposed-modules:
|
|
-- NOTE: the order of these matters to c2hs.
|
|
Network.GRPC.Unsafe.Constants
|
|
Network.GRPC.Unsafe.Time
|
|
Network.GRPC.Unsafe.Slice
|
|
Network.GRPC.Unsafe.ByteBuffer
|
|
Network.GRPC.Unsafe.Metadata
|
|
Network.GRPC.Unsafe.Op
|
|
Network.GRPC.Unsafe
|
|
extra-libraries:
|
|
grpc
|
|
includes:
|
|
include/grpc_haskell.h
|
|
, grpc/grpc.h
|
|
, grpc/status.h
|
|
, grpc/support/time.h
|
|
, grpc/impl/codegen/compression_types.h
|
|
, grpc/impl/codegen/slice_buffer.h
|
|
, grpc/impl/codegen/slice.h
|
|
build-tools: c2hs
|
|
default-language: Haskell2010
|
|
ghc-options: -Wall -fwarn-incomplete-patterns
|
|
include-dirs: include
|
|
hs-source-dirs: src
|
|
|
|
test-suite test
|
|
build-depends:
|
|
base ==4.8.*
|
|
, grpc-haskell
|
|
, bytestring ==0.10.*
|
|
, unix
|
|
, time
|
|
, async
|
|
, tasty >= 0.11 && <0.12
|
|
, tasty-hunit >= 0.9 && <0.10
|
|
default-language: Haskell2010
|
|
ghc-options: -Wall -fwarn-incomplete-patterns -g -threaded
|
|
hs-source-dirs: tests
|
|
main-is: Properties.hs
|
|
type: exitcode-stdio-1.0
|