ppad-bolt4.cabal (2220B)
1 cabal-version: 3.0 2 name: ppad-bolt4 3 version: 0.0.1 4 synopsis: BOLT4 (onion routing) for Lightning Network 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 A pure Haskell implementation of BOLT4 (onion routing) from 15 the Lightning Network protocol specification. 16 17 source-repository head 18 type: git 19 location: git.ppad.tech/bolt4.git 20 21 library 22 default-language: Haskell2010 23 hs-source-dirs: lib 24 ghc-options: 25 -Wall 26 exposed-modules: 27 Lightning.Protocol.BOLT4 28 Lightning.Protocol.BOLT4.Blinding 29 Lightning.Protocol.BOLT4.Codec 30 Lightning.Protocol.BOLT4.Construct 31 Lightning.Protocol.BOLT4.Error 32 Lightning.Protocol.BOLT4.Internal 33 Lightning.Protocol.BOLT4.Prim 34 Lightning.Protocol.BOLT4.Process 35 Lightning.Protocol.BOLT4.Types 36 build-depends: 37 base >= 4.9 && < 5 38 , bytestring >= 0.9 && < 0.13 39 , ppad-aead >= 0.3 && < 0.4 40 , ppad-bolt1 >= 0.0.1 && < 0.1 41 , ppad-chacha >= 0.2 && < 0.3 42 , ppad-fixed >= 0.1 && < 0.2 43 , ppad-secp256k1 >= 0.5 && < 0.6 44 , ppad-sha256 >= 0.3 && < 0.4 45 46 test-suite bolt4-tests 47 type: exitcode-stdio-1.0 48 default-language: Haskell2010 49 hs-source-dirs: test 50 main-is: Main.hs 51 ghc-options: 52 -rtsopts -Wall -O2 53 build-depends: 54 base 55 , bytestring 56 , ppad-base16 57 , ppad-bolt4 58 , ppad-secp256k1 59 , tasty 60 , tasty-hunit 61 , tasty-quickcheck 62 63 benchmark bolt4-bench 64 type: exitcode-stdio-1.0 65 default-language: Haskell2010 66 hs-source-dirs: bench 67 main-is: Main.hs 68 ghc-options: 69 -rtsopts -O2 -Wall -fno-warn-orphans 70 build-depends: 71 base 72 , bytestring 73 , criterion 74 , deepseq 75 , ppad-bolt4 76 77 benchmark bolt4-weigh 78 type: exitcode-stdio-1.0 79 default-language: Haskell2010 80 hs-source-dirs: bench 81 main-is: Weight.hs 82 ghc-options: 83 -rtsopts -O2 -Wall -fno-warn-orphans 84 build-depends: 85 base 86 , bytestring 87 , ppad-bolt4 88 , weigh