bolt2

Lightning peer protocol, per BOLT #2 (docs.ppad.tech/bolt2).
git clone git://git.ppad.tech/bolt2.git
Log | Files | Refs | README | LICENSE

ppad-bolt2.cabal (2132B)


      1 cabal-version:      3.0
      2 name:               ppad-bolt2
      3 version:            0.1.0
      4 synopsis:           Peer protocol per BOLT #2
      5 license:            MIT
      6 license-file:       LICENSE
      7 author:             Jared Tobin
      8 maintainer:         jared@ppad.tech
      9 category:           Cryptography
     10 build-type:         Simple
     11 tested-with:        GHC == { 9.10.3 }
     12 extra-doc-files:    CHANGELOG
     13 description:
     14   Peer protocol, per
     15   [BOLT #2](https://github.com/lightning/bolts/blob/master/02-peer-protocol.md).
     16 
     17 source-repository head
     18   type:     git
     19   location: git.ppad.tech/bolt2.git
     20 
     21 library
     22   default-language: Haskell2010
     23   hs-source-dirs:   lib
     24   ghc-options:
     25       -Wall
     26   exposed-modules:
     27       Lightning.Protocol.BOLT2
     28   other-modules:
     29       Lightning.Protocol.BOLT2.Codec
     30       Lightning.Protocol.BOLT2.Messages
     31       Lightning.Protocol.BOLT2.Types
     32   build-depends:
     33       base >= 4.9 && < 5
     34     , bytestring >= 0.9 && < 0.13
     35     , deepseq >= 1.4 && < 1.6
     36     , ppad-bolt1 >= 0.1 && < 0.2
     37     , ppad-bolt9 >= 0.1 && < 0.2
     38     , ppad-tx >= 0.2 && < 0.3
     39 
     40 test-suite bolt2-tests
     41   type:                exitcode-stdio-1.0
     42   default-language:    Haskell2010
     43   hs-source-dirs:      test
     44   main-is:             Main.hs
     45 
     46   ghc-options:
     47     -rtsopts -Wall
     48 
     49   build-depends:
     50       base
     51     , bytestring
     52     , ppad-base16
     53     , ppad-bolt1
     54     , ppad-bolt2
     55     , ppad-bolt9
     56     , ppad-tx
     57     , tasty
     58     , tasty-hunit
     59     , tasty-quickcheck
     60 
     61 benchmark bolt2-bench
     62   type:                exitcode-stdio-1.0
     63   default-language:    Haskell2010
     64   hs-source-dirs:      bench
     65   main-is:             Main.hs
     66   other-modules:       Fixtures
     67 
     68   ghc-options:
     69     -rtsopts -O2 -Wall
     70 
     71   build-depends:
     72       base
     73     , bytestring
     74     , criterion
     75     , ppad-bolt1
     76     , ppad-bolt2
     77     , ppad-bolt9
     78     , ppad-tx
     79 
     80 benchmark bolt2-weigh
     81   type:                exitcode-stdio-1.0
     82   default-language:    Haskell2010
     83   hs-source-dirs:      bench
     84   main-is:             Weight.hs
     85   other-modules:       Fixtures
     86 
     87   ghc-options:
     88     -rtsopts -O2 -Wall
     89 
     90   build-depends:
     91       base
     92     , bytestring
     93     , ppad-bolt1
     94     , ppad-bolt2
     95     , ppad-bolt9
     96     , ppad-tx
     97     , weigh