mirror of
https://github.com/zap-proto/haskell.git
synced 2026-10-30 15:05:00 +00:00
72 lines
1.8 KiB
Plaintext
72 lines
1.8 KiB
Plaintext
cabal-version: 2.2
|
|
name: capnp-examples
|
|
version: 0.1.0.0
|
|
synopsis: Examples for haskell-capnp
|
|
-- description:
|
|
homepage: https://github.com/zenhack/haskell-capnp
|
|
license: MIT
|
|
license-file: LICENSE
|
|
author: Ian Denhardt
|
|
maintainer: [email protected]
|
|
-- copyright:
|
|
-- category:
|
|
build-type: Simple
|
|
extra-source-files: ChangeLog.md
|
|
|
|
library
|
|
build-depends:
|
|
base >=4.11 && <5.0
|
|
, capnp
|
|
, stm ^>= 2.5.0
|
|
, bytestring ^>=0.10
|
|
, data-default ^>=0.7
|
|
, exceptions ^>=0.10
|
|
, vector ^>=0.12
|
|
, mtl ^>=2.2.2
|
|
, network ^>= 3.1
|
|
, network-simple ^>= 0.4
|
|
, supervisors ^>= 0.2
|
|
, text ^>= 1.2.3
|
|
hs-source-dirs:
|
|
lib
|
|
gen/lib
|
|
exposed-modules:
|
|
Examples.Rpc.EchoClient
|
|
, Examples.Rpc.EchoServer
|
|
, Examples.Rpc.CalculatorClient
|
|
, Examples.Rpc.CalculatorServer
|
|
, Examples.Serialization.HighLevel.Read
|
|
, Examples.Serialization.HighLevel.Write
|
|
, Examples.Serialization.LowLevel.Read
|
|
, Examples.Serialization.LowLevel.Write
|
|
|
|
-- Generated code
|
|
, Capnp.Gen.Addressbook
|
|
, Capnp.Gen.Addressbook.Pure
|
|
, Capnp.Gen.ById.X85150b117366d14b
|
|
, Capnp.Gen.ById.X85150b117366d14b.Pure
|
|
, Capnp.Gen.ById.Xcd6db6afb4a0cf5c
|
|
, Capnp.Gen.ById.Xcd6db6afb4a0cf5c.Pure
|
|
, Capnp.Gen.ById.Xd0a87f36fa0182f5
|
|
, Capnp.Gen.ById.Xd0a87f36fa0182f5.Pure
|
|
, Capnp.Gen.Calculator
|
|
, Capnp.Gen.Calculator.Pure
|
|
, Capnp.Gen.Echo
|
|
, Capnp.Gen.Echo.Pure
|
|
ghc-options:
|
|
-Wall
|
|
-Wno-name-shadowing
|
|
default-language: Haskell2010
|
|
|
|
executable run-capnp-example
|
|
build-depends:
|
|
base
|
|
, capnp-examples
|
|
hs-source-dirs:
|
|
cmd
|
|
main-is:
|
|
Main.hs
|
|
ghc-options:
|
|
-Wall
|
|
default-language: Haskell2010
|