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 (2107B)


      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 flag llvm
     22   description: Use GHC's LLVM backend.
     23   default:     False
     24   manual:      True
     25 
     26 library
     27   default-language: Haskell2010
     28   hs-source-dirs:   lib
     29   ghc-options:
     30       -Wall
     31   if flag(llvm)
     32     ghc-options: -fllvm -O2
     33   exposed-modules:
     34       Lightning.Protocol.BOLT8
     35       Lightning.Protocol.BOLT8.Internal
     36   build-depends:
     37       base >= 4.9 && < 5
     38     , bytestring >= 0.9 && < 0.13
     39     , ppad-aead >= 0.3 && < 0.4
     40     , ppad-hkdf >= 0.3.2 && < 0.4
     41     , ppad-secp256k1 >= 0.5.3 && < 0.6
     42     , ppad-sha256 >= 0.3 && < 0.4
     43 
     44 test-suite bolt8-tests
     45   type:                exitcode-stdio-1.0
     46   default-language:    Haskell2010
     47   hs-source-dirs:      test
     48   main-is:             Main.hs
     49 
     50   ghc-options:
     51     -rtsopts -Wall -O2
     52 
     53   build-depends:
     54       base
     55     , bytestring
     56     , ppad-base16
     57     , ppad-bolt8
     58     , QuickCheck
     59     , tasty
     60     , tasty-hunit
     61     , tasty-quickcheck
     62 
     63 benchmark bolt8-bench
     64   type:                exitcode-stdio-1.0
     65   default-language:    Haskell2010
     66   hs-source-dirs:      bench
     67   main-is:             Main.hs
     68 
     69   ghc-options:
     70     -rtsopts -O2 -Wall -fno-warn-orphans
     71 
     72   build-depends:
     73       base
     74     , bytestring
     75     , criterion
     76     , deepseq
     77     , ppad-bolt8
     78 
     79 benchmark bolt8-weigh
     80   type:                exitcode-stdio-1.0
     81   default-language:    Haskell2010
     82   hs-source-dirs:      bench
     83   main-is:             Weight.hs
     84 
     85   ghc-options:
     86     -rtsopts -O2 -Wall -fno-warn-orphans
     87 
     88   build-depends:
     89       base
     90     , bytestring
     91     , deepseq
     92     , ppad-bolt8
     93     , weigh
     94