/
package.yaml
83 lines (75 loc) · 2.01 KB
/
package.yaml
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
name: snowchecked
version: 0.0.2.0
github: robertfischer/hs-snowflake-checked
license: Apache-2.0
author: Robert Fischer
maintainer: smokejumperit@gmail.com
copyright: 2021-2023 Robert Fischer
extra-source-files:
- LICENSE
- README.md
- package.yaml
- stack.yaml
- stack.yaml.lock
# Metadata used when publishing your package
synopsis: A checksummed variation on Twitter's Snowflake UID generation algorithm
category: Data
# To avoid duplicated efforts in documentation and dealing with the
# complications of embedding Haddock markup inside cabal files, it is
# common to point users to the README.md file.
description: See the file ./README.md, which is included in the package and also on GitHub.
dependencies:
- base >= 4.14.1.0 && < 5
- bytestring >= 0.10.12.0
- wide-word >= 0.1.1.2 && <= 0.1.3.0
- data-default >= 0.7.1.1
- time >= 1.9.3
- deepseq >= 1.4.4.0
- text-conversions >= 0.3.1
- text >= 1.2.4.1
ghc-options:
- -Wno-tabs
library:
source-dirs: src
ghc-options:
- -Wall
- -Wcompat
- -Wno-type-defaults
- -Wno-tabs
- -Widentities
- -Werror=unused-do-bind
- -Werror=incomplete-record-updates
- -Werror=incomplete-uni-patterns
- -Werror=partial-fields
- -Werror=incomplete-patterns
- -Wredundant-constraints
- -Werror=missing-exported-signatures
- -Wmissed-specializations
- -Wunused-type-patterns
- -Werror=warnings-deprecations
- -Wnoncanonical-monad-instances
- -feager-blackholing
- -fexcess-precision
- -flate-dmd-anal
- -fmax-inline-alloc-size=1024
- -fmax-simplifier-iterations=8
- -fpedantic-bottoms
- -fregs-iterative
- -fsimplifier-phases=4
- -fspec-constr-count=10
- -fspecialise-aggressively
- -flate-specialise
- -fstatic-argument-transformation
- -fstrictness-before=3
tests:
test-suite:
main: Spec.hs
source-dirs: test
dependencies:
- snowchecked
- hedgehog
- unliftio
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N