packages feed

ppad-bolt9-0.0.1: ppad-bolt9.cabal

cabal-version:      3.0
name:               ppad-bolt9
version:            0.0.1
synopsis:           Feature flags per BOLT #9
license:            MIT
license-file:       LICENSE
author:             Jared Tobin
maintainer:         jared@ppad.tech
category:           Cryptography
build-type:         Simple
tested-with:        GHC == 9.10.3
extra-doc-files:    CHANGELOG
description:
  Feature flags, per
  [BOLT #9](https://github.com/lightning/bolts/blob/master/09-features.md).

source-repository head
  type:     git
  location: git.ppad.tech/bolt9.git

library
  default-language: Haskell2010
  hs-source-dirs:   lib
  ghc-options:
      -Wall
  exposed-modules:
      Lightning.Protocol.BOLT9
      Lightning.Protocol.BOLT9.Codec
      Lightning.Protocol.BOLT9.Features
      Lightning.Protocol.BOLT9.Types
      Lightning.Protocol.BOLT9.Validate
  build-depends:
      base >= 4.9 && < 5
    , bytestring >= 0.9 && < 0.13
    , containers >= 0.6 && < 0.9
    , deepseq >= 1.4 && < 1.6

test-suite bolt9-tests
  type:                exitcode-stdio-1.0
  default-language:    Haskell2010
  hs-source-dirs:      test
  main-is:             Main.hs

  ghc-options:
    -rtsopts -Wall -O2

  build-depends:
      base
    , bytestring
    , ppad-bolt9
    , tasty
    , tasty-hunit
    , tasty-quickcheck

benchmark bolt9-bench
  type:                exitcode-stdio-1.0
  default-language:    Haskell2010
  hs-source-dirs:      bench
  main-is:             Main.hs
  other-modules:       Fixtures

  ghc-options:
    -rtsopts -O2 -Wall -fno-warn-orphans

  build-depends:
      base
    , bytestring
    , criterion
    , deepseq
    , ppad-bolt9

benchmark bolt9-weigh
  type:                exitcode-stdio-1.0
  default-language:    Haskell2010
  hs-source-dirs:      bench
  main-is:             Weight.hs
  other-modules:       Fixtures

  ghc-options:
    -rtsopts -O2 -Wall -fno-warn-orphans

  build-depends:
      base
    , bytestring
    , deepseq
    , ppad-bolt9
    , weigh