bolt9

Lightning feature flags, per BOLT #9 (docs.ppad.tech/bolt9).
git clone git://git.ppad.tech/bolt9.git
Log | Files | Refs | README | LICENSE

ppad-bolt9.cabal (1989B)


      1 cabal-version:      3.0
      2 name:               ppad-bolt9
      3 version:            0.0.1
      4 synopsis:           Feature flags per BOLT #9
      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   Feature flags, per
     15   [BOLT #9](https://github.com/lightning/bolts/blob/master/09-features.md).
     16 
     17 source-repository head
     18   type:     git
     19   location: git.ppad.tech/bolt9.git
     20 
     21 library
     22   default-language: Haskell2010
     23   hs-source-dirs:   lib
     24   ghc-options:
     25       -Wall
     26   exposed-modules:
     27       Lightning.Protocol.BOLT9
     28       Lightning.Protocol.BOLT9.Codec
     29       Lightning.Protocol.BOLT9.Features
     30       Lightning.Protocol.BOLT9.Types
     31       Lightning.Protocol.BOLT9.Validate
     32   build-depends:
     33       base >= 4.9 && < 5
     34     , bytestring >= 0.9 && < 0.13
     35     , containers >= 0.6 && < 0.9
     36     , deepseq >= 1.4 && < 1.6
     37 
     38 test-suite bolt9-tests
     39   type:                exitcode-stdio-1.0
     40   default-language:    Haskell2010
     41   hs-source-dirs:      test
     42   main-is:             Main.hs
     43 
     44   ghc-options:
     45     -rtsopts -Wall -O2
     46 
     47   build-depends:
     48       base
     49     , bytestring
     50     , ppad-bolt9
     51     , tasty
     52     , tasty-hunit
     53     , tasty-quickcheck
     54 
     55 benchmark bolt9-bench
     56   type:                exitcode-stdio-1.0
     57   default-language:    Haskell2010
     58   hs-source-dirs:      bench
     59   main-is:             Main.hs
     60   other-modules:       Fixtures
     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-bolt9
     71 
     72 benchmark bolt9-weigh
     73   type:                exitcode-stdio-1.0
     74   default-language:    Haskell2010
     75   hs-source-dirs:      bench
     76   main-is:             Weight.hs
     77   other-modules:       Fixtures
     78 
     79   ghc-options:
     80     -rtsopts -O2 -Wall -fno-warn-orphans
     81 
     82   build-depends:
     83       base
     84     , bytestring
     85     , deepseq
     86     , ppad-bolt9
     87     , weigh