-
Notifications
You must be signed in to change notification settings - Fork 12
/
bytesmith.cabal
88 lines (78 loc) · 2.21 KB
/
bytesmith.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
cabal-version: 3.0
name: bytesmith
version: 0.3.11.1
synopsis: Nonresumable byte parser
description:
Parse bytes as fast as possible. This is a nonresumable parser
that aggresively uses `UnboxedSums` to avoid performing any
allocations.
homepage: https://github.com/byteverse/bytesmith
bug-reports: https://github.com/byteverse/bytesmith/issues
license: BSD-3-Clause
license-file: LICENSE
author: Andrew Martin
maintainer: [email protected]
copyright: 2019 Andrew Martin
category: Data
extra-doc-files: CHANGELOG.md
tested-with: GHC ==9.4.8 || ==9.6.3 || ==9.8.1
common build-settings
default-language: Haskell2010
ghc-options: -Wall -Wunused-packages
library
import: build-settings
exposed-modules:
Data.Bytes.Parser
Data.Bytes.Parser.Ascii
Data.Bytes.Parser.Base128
Data.Bytes.Parser.BigEndian
Data.Bytes.Parser.Latin
Data.Bytes.Parser.Leb128
Data.Bytes.Parser.LittleEndian
Data.Bytes.Parser.Rebindable
Data.Bytes.Parser.Unsafe
Data.Bytes.Parser.Utf8
other-modules:
Data.Bytes.Parser.Internal
Data.Bytes.Parser.Types
build-depends:
, base >=4.12 && <5
, byteslice >=0.2.6 && <0.3
, bytestring >=0.10.8 && <0.13
, contiguous >=0.6 && <0.7
, natural-arithmetic >=0.1.3
, primitive >=0.7 && <0.10
, text-short >=0.1.3 && <0.2
, wide-word >=0.1.0.9 && <0.2
hs-source-dirs: src
ghc-options: -O2
test-suite test
import: build-settings
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Main.hs
build-depends:
, base >=4.12.0.0 && <5
, byte-order
, byteslice
, bytesmith
, primitive
, tasty
, tasty-hunit
, tasty-quickcheck
, text-short
, wide-word
benchmark bench
import: build-settings
type: exitcode-stdio-1.0
build-depends:
, base
, bytesmith
, gauge
, primitive
ghc-options: -O2
hs-source-dirs: bench
main-is: Main.hs
source-repository head
type: git
location: git://github.com/byteverse/bytesmith.git