cabal-version: 3.0
name: bytestring-tree-builder
version: 0.2.7.13
category: ByteString
synopsis:
A very efficient ByteString builder implementation based on the binary tree
description:
According to
<https://github.com/nikita-volkov/bytestring-builders-benchmark the benchmarks>
this builder implementation beats all the alternatives.
It is especially well-suited for generating strict bytestrings,
beating the standard builder by at least the factor of 4.
homepage: https://github.com/nikita-volkov/bytestring-tree-builder
bug-reports:
https://github.com/nikita-volkov/bytestring-tree-builder/issues
author: Nikita Volkov <nikita.y.volkov@mail.ru>
maintainer: Nikita Volkov <nikita.y.volkov@mail.ru>
copyright: (c) 2015, Nikita Volkov
license: MIT
license-file: LICENSE
source-repository head
type: git
location: https://github.com/nikita-volkov/bytestring-tree-builder
common base
default-language: Haskell2010
default-extensions:
NoImplicitPrelude
NoMonomorphismRestriction
Arrows
BangPatterns
ConstraintKinds
DataKinds
DefaultSignatures
DeriveDataTypeable
DeriveFoldable
DeriveFunctor
DeriveGeneric
DeriveTraversable
EmptyDataDecls
FlexibleContexts
FlexibleInstances
FunctionalDependencies
GADTs
GeneralizedNewtypeDeriving
LambdaCase
LiberalTypeSynonyms
MagicHash
MultiParamTypeClasses
MultiWayIf
OverloadedStrings
ParallelListComp
PatternGuards
QuasiQuotes
RankNTypes
RecordWildCards
ScopedTypeVariables
StandaloneDeriving
TemplateHaskell
TupleSections
TypeFamilies
TypeOperators
UnboxedTuples
library
import: base
hs-source-dirs: library
other-modules:
ByteString.TreeBuilder.Poker
ByteString.TreeBuilder.Prelude
ByteString.TreeBuilder.Tree
exposed-modules: ByteString.TreeBuilder
build-depends:
, base >=4.13 && <5
, bytestring >=0.10 && <0.13
, text >=1 && <3
benchmark benchmark
import: base
type: exitcode-stdio-1.0
hs-source-dirs: benchmark
main-is: Main.hs
ghc-options: -O2 -threaded -with-rtsopts=-N -funbox-strict-fields
build-depends:
, base-prelude
, bytestring
, bytestring-tree-builder
, criterion >=1.1 && <2
test-suite tasty
import: base
type: exitcode-stdio-1.0
hs-source-dirs: tasty
main-is: Main.hs
build-depends:
, base-prelude
, bytestring
, bytestring-tree-builder
, quickcheck-instances >=0.3.25 && <0.4
, tasty >=1.4 && <2
, tasty-hunit >=0.10 && <0.11
, tasty-quickcheck >=0.10 && <0.12