80 lines
1.8 KiB
Plaintext
80 lines
1.8 KiB
Plaintext
cabal-version: 3.0
|
|
name: 4r-feed
|
|
version: 0.1.0
|
|
author: staticvoid@mail.i2p
|
|
license: GPL-3.0-or-later
|
|
|
|
common c
|
|
default-language: GHC2021
|
|
default-extensions:
|
|
NoImplicitPrelude
|
|
NoFieldSelectors
|
|
OverloadedRecordDot
|
|
DuplicateRecordFields
|
|
BangPatterns
|
|
BinaryLiterals
|
|
BlockArguments
|
|
ConstraintKinds
|
|
DataKinds
|
|
DeriveFunctor
|
|
DeriveGeneric
|
|
DerivingStrategies
|
|
FlexibleContexts
|
|
FlexibleInstances
|
|
GADTs
|
|
GeneralizedNewtypeDeriving
|
|
HexFloatLiterals
|
|
ImportQualifiedPost
|
|
InstanceSigs
|
|
KindSignatures
|
|
LambdaCase
|
|
MultiParamTypeClasses
|
|
NumericUnderscores
|
|
OverloadedStrings
|
|
ScopedTypeVariables
|
|
StandaloneDeriving
|
|
TupleSections
|
|
TypeApplications
|
|
TypeOperators
|
|
TypeSynonymInstances
|
|
UndecidableInstances
|
|
ghc-options:
|
|
-Wall -Wcompat -Wincomplete-uni-patterns -Wredundant-constraints
|
|
-Wmissing-export-lists -Wincomplete-record-updates
|
|
-Wmissing-deriving-strategies
|
|
-O2 -threaded "-with-rtsopts=-I0 -N2"
|
|
|
|
executable 4r-feed
|
|
import: c
|
|
main-is: Main.hs
|
|
other-modules: Api.V1.Cached
|
|
Feed.V1.Core
|
|
Feed.V1.Section
|
|
Feed.V1.Server
|
|
Feed.V1.Spec
|
|
Feed.V1.Topic
|
|
Feed.V1.Types
|
|
Servant.API.ContentTypes.AtomFeed
|
|
Servant.API.ContentTypes.AtomFeed.Instances
|
|
Utils
|
|
hs-source-dirs: .
|
|
build-depends:
|
|
, 4r-api
|
|
, base
|
|
, cache
|
|
, clock
|
|
, commonmark
|
|
, commonmark-extensions
|
|
, feed
|
|
, http-client
|
|
, http-media
|
|
, http-types
|
|
, mtl
|
|
, polysemy
|
|
, relude
|
|
, servant
|
|
, servant-client
|
|
, servant-polysemy
|
|
, servant-server
|
|
, wai-cli
|