-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.yaml
More file actions
40 lines (37 loc) · 1021 Bytes
/
Copy pathpackage.yaml
File metadata and controls
40 lines (37 loc) · 1021 Bytes
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
# DON'T EDIT THIS!
#
# Codecrafters relies on this file being intact to run tests successfully. Any changes
# here will not reflect when CodeCrafters tests your code, and might even cause build
# failures.
#
# DON'T EDIT THIS!
name: hs-bittorrent
version: 0.1.0.0
license: BSD3
dependencies:
- base >= 4.7 && < 5
- aeson # for JSON
- network-simple # establish a simple TCP network
- bytestring # useful to send bytes over the network
- network # required when using bytestring
- text # use Text rather than String
- containers # may help with the database structure and debugging
- time # may help with the expiry function
- async # may help with concurrency
- mtl # may help with structuring
- cryptohash-sha1
- HTTP
- transformers
# Parsing libs
- megaparsec
- parser-combinators
- parsec
- attoparsec
executables:
hs-bittorrent-exe:
main: Main.hs
source-dirs: app
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N