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