mssmt.cabal (2837B)
1 cabal-version: 3.0 2 name: mssmt 3 version: 0.1.0 4 synopsis: A high-performance in-memory Merkle-Sum Sparse Merkle Tree. 5 license: MIT 6 license-file: LICENSE 7 author: Jared Tobin 8 maintainer: jared@jtobin.io 9 category: Data Structures 10 build-type: Simple 11 tested-with: GHC == 9.10.3 12 extra-doc-files: CHANGELOG 13 extra-source-files: 14 etc/mssmt_tree_deletion.json 15 , etc/mssmt_tree_error_cases.json 16 , etc/mssmt_tree_proofs.json 17 , etc/mssmt_tree_replacement.json 18 description: 19 A high-performance, in-memory Merkle-Sum Sparse Merkle tree (MS-SMT), 20 whose branches commit to their children either individually 21 ("Data.MSSMT.Split"), or in aggregate ("Data.MSSMT.Aggregate"). 22 23 flag llvm 24 description: Use GHC's LLVM backend. 25 default: False 26 manual: True 27 28 library 29 default-language: Haskell2010 30 hs-source-dirs: lib 31 ghc-options: 32 -Wall 33 if flag(llvm) 34 ghc-options: -fllvm -O2 35 exposed-modules: 36 Data.MSSMT 37 , Data.MSSMT.Aggregate 38 , Data.MSSMT.Hash 39 , Data.MSSMT.Internal 40 , Data.MSSMT.Split 41 build-depends: 42 base >= 4.11 && < 5 43 , bytestring >= 0.10.2 && < 0.13 44 , ppad-sha256 >= 0.3.6 && < 0.4 45 , primitive >= 0.7 && < 0.10 46 47 test-suite mssmt-tests 48 type: exitcode-stdio-1.0 49 default-language: Haskell2010 50 hs-source-dirs: test 51 main-is: Main.hs 52 other-modules: 53 Reference 54 , Vectors 55 56 ghc-options: 57 -rtsopts -Wall -O2 58 59 build-depends: 60 aeson 61 , base 62 , bytestring 63 , containers 64 , mssmt 65 , ppad-base16 66 , ppad-sha256 67 , tasty 68 , tasty-hunit 69 , tasty-quickcheck 70 71 benchmark mssmt-bench 72 type: exitcode-stdio-1.0 73 default-language: Haskell2010 74 hs-source-dirs: bench 75 main-is: Main.hs 76 other-modules: 77 Fixtures 78 79 ghc-options: 80 -rtsopts -O2 -Wall 81 if flag(llvm) 82 ghc-options: -fllvm 83 84 build-depends: 85 base 86 , bytestring 87 , criterion 88 , deepseq 89 , mssmt 90 , ppad-sha256 91 92 benchmark mssmt-weigh 93 type: exitcode-stdio-1.0 94 default-language: Haskell2010 95 hs-source-dirs: bench 96 main-is: Weight.hs 97 other-modules: 98 Fixtures 99 100 ghc-options: 101 -rtsopts -O2 -Wall 102 if flag(llvm) 103 ghc-options: -fllvm 104 105 build-depends: 106 base 107 , bytestring 108 , deepseq 109 , mssmt 110 , ppad-sha256 111 , weigh 112 113 benchmark mssmt-alloc 114 type: exitcode-stdio-1.0 115 default-language: Haskell2010 116 hs-source-dirs: bench 117 main-is: Alloc.hs 118 other-modules: 119 Fixtures 120 121 ghc-options: 122 -rtsopts -O2 -Wall "-with-rtsopts=-T" 123 if flag(llvm) 124 ghc-options: -fllvm 125 126 build-depends: 127 base 128 , bytestring 129 , deepseq 130 , mssmt 131 , ppad-sha256