-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrabin.cabal
85 lines (78 loc) · 1.8 KB
/
rabin.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
cabal-version: 3.8
name: rabin
version: 0.0.0.0
synopsis: Rabin's Public Key Cryptosystem
description: Please see the README on GitHub at <https://github.com/aionescu/rabin-cryptosystem#readme>
homepage: https://github.com/aionescu/rabin-cryptosystem#readme
bug-reports: https://github.com/aionescu/rabin-cryptosystem/issues
license: GPL-3.0-only
license-file: LICENSE.txt
maintainer: aaionescu@pm.me
copyright: Copyright (C) 2022-2023 Alex Ionescu
category: Encryption
build-type: Simple
extra-source-files: README.md
common ghc-flags
default-language: GHC2021
default-extensions:
ApplicativeDo
BlockArguments
DataKinds
DefaultSignatures
DeriveAnyClass
DerivingVia
DuplicateRecordFields
FunctionalDependencies
GADTs
ImplicitParams
ImpredicativeTypes
LambdaCase
LexicalNegation
MagicHash
MultiWayIf
NegativeLiterals
NoFieldSelectors
NoMonomorphismRestriction
NoStarIsType
OverloadedLabels
OverloadedRecordDot
OverloadedStrings
PartialTypeSignatures
PatternSynonyms
QuantifiedConstraints
RecordWildCards
RecursiveDo
TypeFamilyDependencies
UnboxedTuples
UndecidableInstances
UnliftedDatatypes
UnliftedNewtypes
ViewPatterns
ghc-options:
-threaded
-rtsopts
-with-rtsopts=-N
-Wall
-Wcompat
-Widentities
-Wmissing-deriving-strategies
-Wno-name-shadowing
-Wpartial-fields
-Wprepositive-qualified-module
-Wredundant-constraints
-Wunused-packages
executable rabin
import: ghc-flags
hs-source-dirs: src
main-is: Main.hs
other-modules:
Rabin.KeyGen
Rabin.Encryption
Rabin.Encoding
Opts
build-depends:
base >=4.18 && <5
, bytestring ^>= 0.11.5
, mwc-random ^>= 0.15
, optparse-generic ^>= 1.5.1
, random ^>= 1.2.1