cabal-version: 1.12
-- This file has been generated from package.yaml by hpack version 0.31.2.
--
-- see: https://github.com/sol/hpack
--
-- hash: 955257d9cc818ae774b8798f360815648a42e3808e53b8363c5195d1864c716a
name: cardano-coin-selection
version: 1.0.1
synopsis: Algorithms for coin selection and fee balancing.
description: Please see the README on GitHub at <https://github.com/input-output-hk/cardano-coin-selection>
category: Cardano
homepage: https://github.com/input-output-hk/cardano-coin-selection#readme
bug-reports: https://github.com/input-output-hk/cardano-coin-selection/issues
author: IOHK
maintainer: operations@iohk.io
copyright: 2020 IOHK
license: Apache-2.0
license-file: LICENSE
build-type: Simple
extra-source-files:
ChangeLog.md
source-repository head
type: git
location: https://github.com/input-output-hk/cardano-coin-selection
flag release
description: Compile executables for a release.
manual: True
default: False
library
exposed-modules:
Cardano.CoinSelection
Cardano.CoinSelection.Algorithm
Cardano.CoinSelection.Algorithm.LargestFirst
Cardano.CoinSelection.Algorithm.Migration
Cardano.CoinSelection.Algorithm.RandomImprove
Cardano.CoinSelection.Fee
Internal
Internal.Coin
Internal.Invariant
Internal.Rounding
other-modules:
Paths_cardano_coin_selection
hs-source-dirs:
src/library
src/internal
default-extensions: NoImplicitPrelude
ghc-options: -Wall -Wcompat -fwarn-redundant-constraints
build-depends:
base >=4.7 && <5
, bytestring
, containers
, cryptonite
, deepseq
, quiet
, text
, transformers >=0.5.6.0
if flag(release)
ghc-options: -Werror
default-language: Haskell2010
test-suite unit
type: exitcode-stdio-1.0
main-is: Spec.hs
other-modules:
Cardano.CoinSelection.Algorithm.LargestFirstSpec
Cardano.CoinSelection.Algorithm.MigrationSpec
Cardano.CoinSelection.Algorithm.RandomImproveSpec
Cardano.CoinSelection.FeeSpec
Cardano.CoinSelection.TypesSpec
Cardano.CoinSelectionSpec
Cardano.Test.Utilities
Internal.CoinSpec
Test.Vector.Shuffle
Test.Vector.ShuffleSpec
Paths_cardano_coin_selection
hs-source-dirs:
src/test
default-extensions: NoImplicitPrelude
ghc-options: -Wall -Wcompat -fwarn-redundant-constraints -threaded -rtsopts -with-rtsopts=-N
build-depends:
QuickCheck
, base >=4.7 && <5
, bytestring
, cardano-coin-selection
, containers
, cryptonite
, deepseq
, fmt
, hspec
, memory
, quiet
, random
, text
, transformers >=0.5.6.0
, vector
if flag(release)
ghc-options: -Werror
default-language: Haskell2010