|
| 1 | +cabal-version: 3.0 |
| 2 | +Name: network-transport-quic |
| 3 | +Version: 0.1.0 |
| 4 | +build-Type: Simple |
| 5 | +License: BSD-3-Clause |
| 6 | +License-file: LICENSE |
| 7 | +Copyright: Laurent P. René de Cotret |
| 8 | +Author: Laurent P. René de Cotret |
| 9 | +maintainer: The Distributed Haskell team |
| 10 | +Stability: experimental |
| 11 | +Homepage: http://haskell-distributed.github.com |
| 12 | +Bug-Reports: https://github.com/haskell-distributed/distributed-process/issues |
| 13 | +Synopsis: Networking layer for Cloud Haskell based on QUIC |
| 14 | +Description: Networking layer for Cloud Haskell based on QUIC |
| 15 | +tested-with: GHC==8.10.7 GHC==9.0.2 GHC==9.2.8 GHC==9.4.5 GHC==9.6.4 GHC==9.8.2 GHC==9.10.1 GHC==9.12.1 |
| 16 | +Category: Network |
| 17 | +extra-doc-files: ChangeLog |
| 18 | +extra-source-files: test/credentials/* |
| 19 | + |
| 20 | +source-repository head |
| 21 | + Type: git |
| 22 | + Location: https://github.com/haskell-distributed/distributed-process |
| 23 | + SubDir: packages/network-transport-quic |
| 24 | + |
| 25 | +common common |
| 26 | + ghc-options: |
| 27 | + -- warnings |
| 28 | + -Wall |
| 29 | + -Wcompat |
| 30 | + -Widentities |
| 31 | + -Wincomplete-uni-patterns |
| 32 | + -Wincomplete-record-updates |
| 33 | + -Wredundant-constraints |
| 34 | + -fhide-source-paths |
| 35 | + -Wpartial-fields |
| 36 | + -Wunused-packages |
| 37 | + -- The -threaded option is /required/ to use the quic library |
| 38 | + -threaded |
| 39 | + |
| 40 | +library |
| 41 | + import: common |
| 42 | + build-depends: async |
| 43 | + , attoparsec |
| 44 | + , base >= 4.14 && < 5 |
| 45 | + , binary >= 0.8 && < 0.10 |
| 46 | + , bytestring >= 0.10 && < 0.13 |
| 47 | + , containers |
| 48 | + , ip |
| 49 | + , microlens-platform ^>=0.4 |
| 50 | + , network >= 3.1 && < 3.3 |
| 51 | + , network-transport >= 0.5 && < 0.6 |
| 52 | + -- Prior to version 0.2.20, `quic` had issues with handling |
| 53 | + -- pending data in the stream buffer. This meant that vectored |
| 54 | + -- message sends did not work correctly at the transport layer |
| 55 | + , quic >=0.2.20 && <0.3 |
| 56 | + , stm >=2.4 && <2.6 |
| 57 | + , text >= 2.0 && <2.2 |
| 58 | + , tls |
| 59 | + , tls-session-manager |
| 60 | + exposed-modules: Network.Transport.QUIC |
| 61 | + Network.Transport.QUIC.Internal |
| 62 | + other-modules: Network.Transport.QUIC.Internal.Configuration |
| 63 | + Network.Transport.QUIC.Internal.Client |
| 64 | + Network.Transport.QUIC.Internal.Messaging |
| 65 | + Network.Transport.QUIC.Internal.QUICAddr |
| 66 | + Network.Transport.QUIC.Internal.QUICTransport |
| 67 | + Network.Transport.QUIC.Internal.Server |
| 68 | + Network.Transport.QUIC.Internal.TLS |
| 69 | + default-language: Haskell2010 |
| 70 | + default-extensions: ImportQualifiedPost |
| 71 | + -- The -threaded option is /required/ to use the quic library |
| 72 | + hs-source-dirs: src |
| 73 | + |
| 74 | +test-suite network-transport-quic-tests |
| 75 | + import: common |
| 76 | + default-language: Haskell2010 |
| 77 | + default-extensions: ImportQualifiedPost |
| 78 | + main-is: Main.hs |
| 79 | + other-modules: Test.Network.Transport.QUIC |
| 80 | + Test.Network.Transport.QUIC.Internal.Messaging |
| 81 | + Test.Network.Transport.QUIC.Internal.QUICAddr |
| 82 | + type: exitcode-stdio-1.0 |
| 83 | + hs-source-dirs: test |
| 84 | + build-depends: base |
| 85 | + , bytestring |
| 86 | + , filepath |
| 87 | + , hedgehog |
| 88 | + , ip |
| 89 | + , network |
| 90 | + , network-transport |
| 91 | + , network-transport-quic |
| 92 | + , network-transport-tests |
| 93 | + , tasty ^>=1.5 |
| 94 | + , tasty-hedgehog |
| 95 | + , tasty-hunit |
| 96 | + , text |
0 commit comments