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


      1 cabal-version:      3.0
      2 name:               ppad-bolt9
      3 version:            0.1.0
      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   Lightning Network feature flags, per
     15   [BOLT #9](https://github.com/lightning/bolts/blob/master/09-features.md).
     16   Provides an abstract feature vector type that preserves its wire
     17   bytes, the table of known features with their contexts and
     18   dependencies, sender- and receiver-side validation for each context,
     19   and BOLT #2 channel types.
     20 
     21 source-repository head
     22   type:     git
     23   location: git.ppad.tech/bolt9.git
     24 
     25 library
     26   default-language: Haskell2010
     27   hs-source-dirs:   lib
     28   ghc-options:
     29       -Wall
     30   exposed-modules:
     31       Lightning.Protocol.BOLT9
     32   build-depends:
     33       base >= 4.9 && < 5
     34     , bytestring >= 0.9 && < 0.13
     35     , deepseq >= 1.4 && < 1.6
     36 
     37 test-suite bolt9-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
     45 
     46   build-depends:
     47       base
     48     , bytestring
     49     , ppad-bolt9
     50     , tasty
     51     , tasty-hunit
     52     , tasty-quickcheck
     53 
     54 benchmark bolt9-bench
     55   type:                exitcode-stdio-1.0
     56   default-language:    Haskell2010
     57   hs-source-dirs:      bench
     58   main-is:             Main.hs
     59   other-modules:       Fixtures
     60 
     61   ghc-options:
     62     -rtsopts -O2 -Wall
     63 
     64   build-depends:
     65       base
     66     , bytestring
     67     , criterion
     68     , deepseq
     69     , ppad-bolt9
     70 
     71 benchmark bolt9-weigh
     72   type:                exitcode-stdio-1.0
     73   default-language:    Haskell2010
     74   hs-source-dirs:      bench
     75   main-is:             Weight.hs
     76   other-modules:       Fixtures
     77 
     78   ghc-options:
     79     -rtsopts -O2 -Wall
     80 
     81   build-depends:
     82       base
     83     , bytestring
     84     , deepseq
     85     , ppad-bolt9
     86     , weigh