summaryrefslogtreecommitdiff
path: root/bahnhof-name.cabal
blob: bd20dc05ff8426f4867cb5df775dab6db55c96c4 (plain)
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
cabal-version:      3.0
name:               bahnhof-name
-- PVP summary:     +-+------- breaking API changes
--                  | | +----- non-breaking API additions
--                  | | | +--- code changes with no API change
version:            0.2.0.0
synopsis:           Serve information on German railway stations
license:            EUPL-1.2
license-file:       LICENSE
author:             stuebinm
maintainer:         stuebinm@disroot.org
build-type:         Simple
extra-doc-files:    CHANGELOG.md
extra-source-files: data/*

common warnings
    ghc-options: -Wall

executable bahnhof-name
    import:           warnings

    main-is:          Main.hs
    other-modules:    Util
    hs-source-dirs:   app
    build-depends:    base ^>=4.19
                    , fuzzyset >= 0.3.0
                    , fuzzyfind
                    , text
                    , vector
                    , cassava
                    , bytestring
                    , wai
                    , wai-extra
                    , warp
                    , http-types
                    , containers
                    , http-client
                    , http-client-rustls
                    , stm
                    , time
    default-language: GHC2021
    ghc-options: -threaded -with-rtsopts=--nonmoving-gc

executable bahnhof-dns
    import:           warnings

    main-is:          BahnhofDNS.hs
    other-modules:    Util
    hs-source-dirs:   app
    build-depends:    base ^>=4.19
                    , fuzzyset >= 0.3.0
                    , fuzzyfind
                    , text
                    , vector
                    , cassava
                    , bytestring
                    , containers
                    , dns
                    , network
    default-language: GHC2021
    ghc-options: -threaded -with-rtsopts=--nonmoving-gc