bolt8

Encrypted and authenticated transport, per BOLT #8 (docs.ppad.tech/bolt8).
git clone git://git.ppad.tech/bolt8.git
Log | Files | Refs | README | LICENSE

ppad-bolt8.cabal (1972B)


      1 cabal-version:      3.0
      2 name:               ppad-bolt8
      3 version:            0.0.1
      4 synopsis:           Encrypted and authenticated transport per BOLT #8
      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   Encrypted and authenticated transport, per
     15   [BOLT #8](https://github.com/lightning/bolts/blob/master/08-transport.md).
     16 
     17 source-repository head
     18   type:     git
     19   location: git.ppad.tech/bolt8.git
     20 
     21 library
     22   default-language: Haskell2010
     23   hs-source-dirs:   lib
     24   ghc-options:
     25       -Wall
     26   exposed-modules:
     27       Lightning.Protocol.BOLT8
     28       Lightning.Protocol.BOLT8.Internal
     29   build-depends:
     30       base >= 4.9 && < 5
     31     , bytestring >= 0.9 && < 0.13
     32     , ppad-aead >= 0.3 && < 0.4
     33     , ppad-hkdf >= 0.3.2 && < 0.4
     34     , ppad-secp256k1 >= 0.5.3 && < 0.6
     35     , ppad-sha256 >= 0.3 && < 0.4
     36 
     37 test-suite bolt8-tests
     38   type:                exitcode-stdio-1.0
     39   default-language:    Haskell2010
     40   hs-source-dirs:      test
     41   main-is:             Main.hs
     42 
     43   ghc-options:
     44     -rtsopts -Wall -O2
     45 
     46   build-depends:
     47       base
     48     , bytestring
     49     , ppad-base16
     50     , ppad-bolt8
     51     , QuickCheck
     52     , tasty
     53     , tasty-hunit
     54     , tasty-quickcheck
     55 
     56 benchmark bolt8-bench
     57   type:                exitcode-stdio-1.0
     58   default-language:    Haskell2010
     59   hs-source-dirs:      bench
     60   main-is:             Main.hs
     61 
     62   ghc-options:
     63     -rtsopts -O2 -Wall -fno-warn-orphans
     64 
     65   build-depends:
     66       base
     67     , bytestring
     68     , criterion
     69     , deepseq
     70     , ppad-bolt8
     71 
     72 benchmark bolt8-weigh
     73   type:                exitcode-stdio-1.0
     74   default-language:    Haskell2010
     75   hs-source-dirs:      bench
     76   main-is:             Weight.hs
     77 
     78   ghc-options:
     79     -rtsopts -O2 -Wall -fno-warn-orphans
     80 
     81   build-depends:
     82       base
     83     , bytestring
     84     , deepseq
     85     , ppad-bolt8
     86     , weigh
     87