mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-03-30 18:35:49 +00:00
* protocol instance template [WIP] * protocol instances template * add methods to check correctness of participant types in protocol TH * PushConfirm and and PushMsg implementation types * check Command type + doctest
62 lines
1.2 KiB
YAML
62 lines
1.2 KiB
YAML
name: simplex-definitions
|
|
version: 0.1.0.0
|
|
#synopsis:
|
|
#description:
|
|
homepage: https://github.com/simplex-chat/protocol/blob/master/definitions/readme.md
|
|
license: AGPL-3
|
|
author: Evgeny Poberezkin
|
|
copyright: 2020 Evgeny Poberezkin
|
|
category: Web
|
|
extra-source-files:
|
|
- readme.md
|
|
|
|
ghc-options:
|
|
- -Wall
|
|
- -Wcompat
|
|
- -Werror=incomplete-patterns
|
|
- -Wredundant-constraints
|
|
- -Wincomplete-record-updates
|
|
- -Wincomplete-uni-patterns
|
|
|
|
default-extensions:
|
|
- BlockArguments
|
|
- DuplicateRecordFields
|
|
- LambdaCase
|
|
- NamedFieldPuns
|
|
- NoImplicitPrelude
|
|
- OverloadedStrings
|
|
- RecordWildCards
|
|
|
|
dependencies:
|
|
- aeson
|
|
- base >= 4.7 && < 5
|
|
- classy-prelude
|
|
- decidable
|
|
- lens
|
|
- singletons
|
|
- servant-docs
|
|
- servant-server
|
|
- template-haskell
|
|
# - pretty-show
|
|
|
|
library:
|
|
source-dirs: src
|
|
exposed-modules:
|
|
- Predicate
|
|
- Simplex.Messaging.Types
|
|
- Simplex.Messaging.ServerAPI
|
|
|
|
executables:
|
|
api-docs:
|
|
source-dirs: src
|
|
main: Main.hs
|
|
|
|
tests:
|
|
simplex-definitions-doctests:
|
|
source-dirs: tests
|
|
main: doctest-driver.hs
|
|
ghc-options: -threaded
|
|
dependencies:
|
|
- doctest
|
|
- doctest-driver-gen
|