2021-07-25 19:27:09 +00:00
|
|
|
cabal-version: 1.12
|
|
|
|
|
|
|
|
-- This file has been generated from package.yaml by hpack version 0.34.4.
|
|
|
|
--
|
|
|
|
-- see: https://github.com/sol/hpack
|
|
|
|
|
|
|
|
name: simplexmq
|
2022-08-16 19:45:35 +00:00
|
|
|
version: 3.2.0
|
2021-07-25 19:27:09 +00:00
|
|
|
synopsis: SimpleXMQ message broker
|
|
|
|
description: This package includes <./docs/Simplex-Messaging-Server.html server>,
|
|
|
|
<./docs/Simplex-Messaging-Client.html client> and
|
|
|
|
<./docs/Simplex-Messaging-Agent.html agent> for SMP protocols:
|
|
|
|
.
|
|
|
|
* <https://github.com/simplex-chat/simplexmq/blob/master/protocol/simplex-messaging.md SMP protocol>
|
|
|
|
* <https://github.com/simplex-chat/simplexmq/blob/master/protocol/agent-protocol.md SMP agent protocol>
|
|
|
|
.
|
|
|
|
See <https://github.com/simplex-chat/simplex-chat terminal chat prototype> built with SimpleXMQ broker.
|
|
|
|
category: Chat, Network, Web, System, Cryptography
|
|
|
|
homepage: https://github.com/simplex-chat/simplexmq#readme
|
|
|
|
author: simplex.chat
|
|
|
|
maintainer: chat@simplex.chat
|
2022-01-13 06:39:02 +00:00
|
|
|
copyright: 2020-2022 simplex.chat
|
2021-07-25 19:27:09 +00:00
|
|
|
license: AGPL-3
|
|
|
|
license-file: LICENSE
|
|
|
|
build-type: Simple
|
|
|
|
extra-source-files:
|
|
|
|
README.md
|
|
|
|
CHANGELOG.md
|
|
|
|
|
2022-04-08 07:51:07 +00:00
|
|
|
flag swift
|
2022-04-08 14:42:22 +00:00
|
|
|
description: Enable swift JSON format
|
|
|
|
manual: True
|
|
|
|
default: False
|
2022-04-07 07:44:37 +00:00
|
|
|
|
2021-07-25 19:27:09 +00:00
|
|
|
library
|
|
|
|
exposed-modules:
|
|
|
|
Simplex.Messaging.Agent
|
|
|
|
Simplex.Messaging.Agent.Client
|
|
|
|
Simplex.Messaging.Agent.Env.SQLite
|
2022-06-10 12:35:06 +00:00
|
|
|
Simplex.Messaging.Agent.NtfSubSupervisor
|
2021-07-25 19:27:09 +00:00
|
|
|
Simplex.Messaging.Agent.Protocol
|
2022-01-10 12:01:54 +00:00
|
|
|
Simplex.Messaging.Agent.QueryString
|
2021-08-09 07:49:49 +00:00
|
|
|
Simplex.Messaging.Agent.RetryInterval
|
2022-01-21 17:33:47 +00:00
|
|
|
Simplex.Messaging.Agent.Server
|
2021-07-25 19:27:09 +00:00
|
|
|
Simplex.Messaging.Agent.Store
|
|
|
|
Simplex.Messaging.Agent.Store.SQLite
|
|
|
|
Simplex.Messaging.Agent.Store.SQLite.Migrations
|
2022-01-20 18:31:09 +00:00
|
|
|
Simplex.Messaging.Agent.Store.SQLite.Migrations.M20220101_initial
|
2022-03-02 15:52:45 +00:00
|
|
|
Simplex.Messaging.Agent.Store.SQLite.Migrations.M20220301_snd_queue_keys
|
2022-03-22 16:18:16 +00:00
|
|
|
Simplex.Messaging.Agent.Store.SQLite.Migrations.M20220322_notifications
|
2022-06-09 12:47:07 +00:00
|
|
|
Simplex.Messaging.Agent.Store.SQLite.Migrations.M20220608_v2
|
2022-06-25 13:34:08 +00:00
|
|
|
Simplex.Messaging.Agent.Store.SQLite.Migrations.M20220625_v2_ntf_mode
|
2022-08-12 10:32:04 +00:00
|
|
|
Simplex.Messaging.Agent.Store.SQLite.Migrations.M20220811_onion_hosts
|
2021-07-25 19:27:09 +00:00
|
|
|
Simplex.Messaging.Client
|
2022-04-02 15:14:19 +00:00
|
|
|
Simplex.Messaging.Client.Agent
|
2021-07-25 19:27:09 +00:00
|
|
|
Simplex.Messaging.Crypto
|
2021-12-25 17:13:53 +00:00
|
|
|
Simplex.Messaging.Crypto.Ratchet
|
2022-01-01 13:10:19 +00:00
|
|
|
Simplex.Messaging.Encoding
|
2022-01-02 22:24:43 +00:00
|
|
|
Simplex.Messaging.Encoding.String
|
2022-04-02 15:14:19 +00:00
|
|
|
Simplex.Messaging.Notifications.Client
|
2022-03-27 07:36:00 +00:00
|
|
|
Simplex.Messaging.Notifications.Protocol
|
|
|
|
Simplex.Messaging.Notifications.Server
|
|
|
|
Simplex.Messaging.Notifications.Server.Env
|
2022-04-14 10:33:17 +00:00
|
|
|
Simplex.Messaging.Notifications.Server.Push.APNS
|
2022-08-01 07:42:23 +00:00
|
|
|
Simplex.Messaging.Notifications.Server.Stats
|
2022-04-20 10:54:37 +00:00
|
|
|
Simplex.Messaging.Notifications.Server.Store
|
2022-06-28 16:10:50 +00:00
|
|
|
Simplex.Messaging.Notifications.Server.StoreLog
|
2022-03-27 07:36:00 +00:00
|
|
|
Simplex.Messaging.Notifications.Transport
|
2022-06-30 10:31:36 +00:00
|
|
|
Simplex.Messaging.Notifications.Types
|
2021-07-25 19:27:09 +00:00
|
|
|
Simplex.Messaging.Parsers
|
|
|
|
Simplex.Messaging.Protocol
|
|
|
|
Simplex.Messaging.Server
|
2022-04-03 09:37:32 +00:00
|
|
|
Simplex.Messaging.Server.CLI
|
2021-07-25 19:27:09 +00:00
|
|
|
Simplex.Messaging.Server.Env.STM
|
2022-04-30 09:56:01 +00:00
|
|
|
Simplex.Messaging.Server.Expiration
|
2021-07-25 19:27:09 +00:00
|
|
|
Simplex.Messaging.Server.MsgStore
|
|
|
|
Simplex.Messaging.Server.MsgStore.STM
|
|
|
|
Simplex.Messaging.Server.QueueStore
|
|
|
|
Simplex.Messaging.Server.QueueStore.STM
|
2022-07-04 09:45:35 +00:00
|
|
|
Simplex.Messaging.Server.Stats
|
2021-07-25 19:27:09 +00:00
|
|
|
Simplex.Messaging.Server.StoreLog
|
2022-03-28 06:30:29 +00:00
|
|
|
Simplex.Messaging.TMap
|
2021-07-25 19:27:09 +00:00
|
|
|
Simplex.Messaging.Transport
|
2022-01-21 17:33:47 +00:00
|
|
|
Simplex.Messaging.Transport.Client
|
2022-04-18 07:57:55 +00:00
|
|
|
Simplex.Messaging.Transport.HTTP2
|
|
|
|
Simplex.Messaging.Transport.HTTP2.Client
|
|
|
|
Simplex.Messaging.Transport.HTTP2.Server
|
2022-03-21 16:13:34 +00:00
|
|
|
Simplex.Messaging.Transport.KeepAlive
|
2022-01-21 17:33:47 +00:00
|
|
|
Simplex.Messaging.Transport.Server
|
2021-07-25 19:27:09 +00:00
|
|
|
Simplex.Messaging.Transport.WebSockets
|
|
|
|
Simplex.Messaging.Util
|
2022-01-01 13:10:19 +00:00
|
|
|
Simplex.Messaging.Version
|
2021-07-25 19:27:09 +00:00
|
|
|
other-modules:
|
|
|
|
Paths_simplexmq
|
|
|
|
hs-source-dirs:
|
|
|
|
src
|
|
|
|
ghc-options: -Wall -Wcompat -Werror=incomplete-patterns -Wredundant-constraints -Wincomplete-record-updates -Wincomplete-uni-patterns -Wunused-type-patterns
|
|
|
|
build-depends:
|
|
|
|
QuickCheck ==2.14.*
|
2022-01-29 19:36:02 +00:00
|
|
|
, aeson ==2.0.*
|
2021-07-25 19:27:09 +00:00
|
|
|
, ansi-terminal >=0.10 && <0.12
|
|
|
|
, asn1-encoding ==0.9.*
|
|
|
|
, asn1-types ==0.3.*
|
|
|
|
, async ==2.2.*
|
2022-01-29 19:36:02 +00:00
|
|
|
, attoparsec ==0.14.*
|
2022-07-05 20:08:05 +00:00
|
|
|
, base >=4.14 && <5
|
2021-07-25 19:27:09 +00:00
|
|
|
, base64-bytestring >=1.0 && <1.3
|
|
|
|
, bytestring ==0.10.*
|
2022-04-14 10:33:17 +00:00
|
|
|
, case-insensitive ==1.2.*
|
2021-07-25 19:27:09 +00:00
|
|
|
, composition ==1.0.*
|
|
|
|
, constraints >=0.12 && <0.14
|
|
|
|
, containers ==0.6.*
|
|
|
|
, cryptonite >=0.27 && <0.30
|
2021-12-22 19:24:58 +00:00
|
|
|
, cryptostore ==0.2.*
|
2021-12-15 07:48:57 +00:00
|
|
|
, data-default ==0.7.*
|
2021-07-25 19:27:09 +00:00
|
|
|
, direct-sqlite ==2.3.*
|
|
|
|
, directory ==1.3.*
|
|
|
|
, filepath ==1.4.*
|
|
|
|
, generic-random >=1.3 && <1.5
|
2021-12-02 17:43:05 +00:00
|
|
|
, http-types ==0.12.*
|
2022-04-14 10:33:17 +00:00
|
|
|
, http2 ==3.0.*
|
2022-04-03 09:37:32 +00:00
|
|
|
, ini ==0.4.*
|
2021-07-25 19:27:09 +00:00
|
|
|
, iso8601-time ==0.1.*
|
|
|
|
, memory ==0.15.*
|
|
|
|
, mtl ==2.2.*
|
2022-06-16 07:49:07 +00:00
|
|
|
, network >=3.1.2.7 && <3.2
|
2021-07-25 19:27:09 +00:00
|
|
|
, network-transport ==0.5.*
|
2022-04-03 09:37:32 +00:00
|
|
|
, optparse-applicative >=0.15 && <0.17
|
|
|
|
, process ==1.6.*
|
2021-07-25 19:27:09 +00:00
|
|
|
, random >=1.1 && <1.3
|
|
|
|
, simple-logger ==0.1.*
|
2022-07-23 12:57:10 +00:00
|
|
|
, socks ==0.6.*
|
2021-07-25 19:27:09 +00:00
|
|
|
, sqlite-simple ==0.4.*
|
|
|
|
, stm ==2.5.*
|
|
|
|
, template-haskell ==2.16.*
|
|
|
|
, text ==1.2.*
|
|
|
|
, time ==1.9.*
|
2022-06-16 14:35:45 +00:00
|
|
|
, time-compat ==1.9.*
|
2022-04-14 10:33:17 +00:00
|
|
|
, time-manager ==0.0.*
|
2022-07-19 09:01:47 +00:00
|
|
|
, tls >=1.6.0 && <1.7
|
2021-07-25 19:27:09 +00:00
|
|
|
, transformers ==0.5.*
|
|
|
|
, unliftio ==0.2.*
|
|
|
|
, unliftio-core ==0.2.*
|
|
|
|
, websockets ==0.12.*
|
|
|
|
, x509 ==1.7.*
|
2021-12-22 19:24:58 +00:00
|
|
|
, x509-store ==1.6.*
|
|
|
|
, x509-validation ==1.6.*
|
2022-04-08 14:42:22 +00:00
|
|
|
if flag(swift)
|
2022-04-21 17:14:41 +00:00
|
|
|
cpp-options: -DswiftJSON
|
2021-07-25 19:27:09 +00:00
|
|
|
default-language: Haskell2010
|
|
|
|
|
2022-04-14 10:33:17 +00:00
|
|
|
executable ntf-server
|
2021-07-25 19:27:09 +00:00
|
|
|
main-is: Main.hs
|
|
|
|
other-modules:
|
|
|
|
Paths_simplexmq
|
|
|
|
hs-source-dirs:
|
2022-04-14 10:33:17 +00:00
|
|
|
apps/ntf-server
|
2021-07-25 19:27:09 +00:00
|
|
|
ghc-options: -Wall -Wcompat -Werror=incomplete-patterns -Wredundant-constraints -Wincomplete-record-updates -Wincomplete-uni-patterns -Wunused-type-patterns -threaded
|
|
|
|
build-depends:
|
|
|
|
QuickCheck ==2.14.*
|
2022-01-29 19:36:02 +00:00
|
|
|
, aeson ==2.0.*
|
2021-07-25 19:27:09 +00:00
|
|
|
, ansi-terminal >=0.10 && <0.12
|
|
|
|
, asn1-encoding ==0.9.*
|
|
|
|
, asn1-types ==0.3.*
|
|
|
|
, async ==2.2.*
|
2022-01-29 19:36:02 +00:00
|
|
|
, attoparsec ==0.14.*
|
2022-07-05 20:08:05 +00:00
|
|
|
, base >=4.14 && <5
|
2021-07-25 19:27:09 +00:00
|
|
|
, base64-bytestring >=1.0 && <1.3
|
|
|
|
, bytestring ==0.10.*
|
2022-04-14 10:33:17 +00:00
|
|
|
, case-insensitive ==1.2.*
|
2021-07-25 19:27:09 +00:00
|
|
|
, composition ==1.0.*
|
|
|
|
, constraints >=0.12 && <0.14
|
|
|
|
, containers ==0.6.*
|
|
|
|
, cryptonite >=0.27 && <0.30
|
2021-12-22 19:24:58 +00:00
|
|
|
, cryptostore ==0.2.*
|
2021-12-15 07:48:57 +00:00
|
|
|
, data-default ==0.7.*
|
2021-07-25 19:27:09 +00:00
|
|
|
, direct-sqlite ==2.3.*
|
|
|
|
, directory ==1.3.*
|
|
|
|
, filepath ==1.4.*
|
|
|
|
, generic-random >=1.3 && <1.5
|
2021-12-02 17:43:05 +00:00
|
|
|
, http-types ==0.12.*
|
2022-04-14 10:33:17 +00:00
|
|
|
, http2 ==3.0.*
|
|
|
|
, ini ==0.4.*
|
2021-07-25 19:27:09 +00:00
|
|
|
, iso8601-time ==0.1.*
|
|
|
|
, memory ==0.15.*
|
|
|
|
, mtl ==2.2.*
|
2022-06-16 07:49:07 +00:00
|
|
|
, network >=3.1.2.7 && <3.2
|
2021-07-25 19:27:09 +00:00
|
|
|
, network-transport ==0.5.*
|
2022-04-14 10:33:17 +00:00
|
|
|
, optparse-applicative >=0.15 && <0.17
|
|
|
|
, process ==1.6.*
|
2021-07-25 19:27:09 +00:00
|
|
|
, random >=1.1 && <1.3
|
|
|
|
, simple-logger ==0.1.*
|
|
|
|
, simplexmq
|
2022-07-23 12:57:10 +00:00
|
|
|
, socks ==0.6.*
|
2021-07-25 19:27:09 +00:00
|
|
|
, sqlite-simple ==0.4.*
|
|
|
|
, stm ==2.5.*
|
|
|
|
, template-haskell ==2.16.*
|
|
|
|
, text ==1.2.*
|
|
|
|
, time ==1.9.*
|
2022-06-16 14:35:45 +00:00
|
|
|
, time-compat ==1.9.*
|
2022-04-14 10:33:17 +00:00
|
|
|
, time-manager ==0.0.*
|
2022-07-19 09:01:47 +00:00
|
|
|
, tls >=1.6.0 && <1.7
|
2021-07-25 19:27:09 +00:00
|
|
|
, transformers ==0.5.*
|
|
|
|
, unliftio ==0.2.*
|
|
|
|
, unliftio-core ==0.2.*
|
|
|
|
, websockets ==0.12.*
|
|
|
|
, x509 ==1.7.*
|
2021-12-22 19:24:58 +00:00
|
|
|
, x509-store ==1.6.*
|
|
|
|
, x509-validation ==1.6.*
|
2022-04-08 14:42:22 +00:00
|
|
|
if flag(swift)
|
2022-04-21 14:16:18 +00:00
|
|
|
cpp-options: -DswiftJSON
|
2021-07-25 19:27:09 +00:00
|
|
|
default-language: Haskell2010
|
|
|
|
|
|
|
|
executable smp-agent
|
|
|
|
main-is: Main.hs
|
|
|
|
other-modules:
|
|
|
|
Paths_simplexmq
|
|
|
|
hs-source-dirs:
|
|
|
|
apps/smp-agent
|
|
|
|
ghc-options: -Wall -Wcompat -Werror=incomplete-patterns -Wredundant-constraints -Wincomplete-record-updates -Wincomplete-uni-patterns -Wunused-type-patterns -threaded
|
|
|
|
build-depends:
|
|
|
|
QuickCheck ==2.14.*
|
2022-01-29 19:36:02 +00:00
|
|
|
, aeson ==2.0.*
|
2021-07-25 19:27:09 +00:00
|
|
|
, ansi-terminal >=0.10 && <0.12
|
|
|
|
, asn1-encoding ==0.9.*
|
|
|
|
, asn1-types ==0.3.*
|
|
|
|
, async ==2.2.*
|
2022-01-29 19:36:02 +00:00
|
|
|
, attoparsec ==0.14.*
|
2022-07-05 20:08:05 +00:00
|
|
|
, base >=4.14 && <5
|
2021-07-25 19:27:09 +00:00
|
|
|
, base64-bytestring >=1.0 && <1.3
|
|
|
|
, bytestring ==0.10.*
|
2022-04-14 10:33:17 +00:00
|
|
|
, case-insensitive ==1.2.*
|
2021-07-25 19:27:09 +00:00
|
|
|
, composition ==1.0.*
|
|
|
|
, constraints >=0.12 && <0.14
|
|
|
|
, containers ==0.6.*
|
|
|
|
, cryptonite >=0.27 && <0.30
|
2021-12-22 19:24:58 +00:00
|
|
|
, cryptostore ==0.2.*
|
2021-12-15 07:48:57 +00:00
|
|
|
, data-default ==0.7.*
|
2021-07-25 19:27:09 +00:00
|
|
|
, direct-sqlite ==2.3.*
|
|
|
|
, directory ==1.3.*
|
|
|
|
, filepath ==1.4.*
|
|
|
|
, generic-random >=1.3 && <1.5
|
2021-12-02 17:43:05 +00:00
|
|
|
, http-types ==0.12.*
|
2022-04-14 10:33:17 +00:00
|
|
|
, http2 ==3.0.*
|
2022-04-03 09:37:32 +00:00
|
|
|
, ini ==0.4.*
|
2021-07-25 19:27:09 +00:00
|
|
|
, iso8601-time ==0.1.*
|
|
|
|
, memory ==0.15.*
|
|
|
|
, mtl ==2.2.*
|
2022-06-16 07:49:07 +00:00
|
|
|
, network >=3.1.2.7 && <3.2
|
2021-07-25 19:27:09 +00:00
|
|
|
, network-transport ==0.5.*
|
2022-04-03 09:37:32 +00:00
|
|
|
, optparse-applicative >=0.15 && <0.17
|
|
|
|
, process ==1.6.*
|
2021-07-25 19:27:09 +00:00
|
|
|
, random >=1.1 && <1.3
|
|
|
|
, simple-logger ==0.1.*
|
|
|
|
, simplexmq
|
2022-07-23 12:57:10 +00:00
|
|
|
, socks ==0.6.*
|
2021-07-25 19:27:09 +00:00
|
|
|
, sqlite-simple ==0.4.*
|
|
|
|
, stm ==2.5.*
|
|
|
|
, template-haskell ==2.16.*
|
|
|
|
, text ==1.2.*
|
|
|
|
, time ==1.9.*
|
2022-06-16 14:35:45 +00:00
|
|
|
, time-compat ==1.9.*
|
2022-04-14 10:33:17 +00:00
|
|
|
, time-manager ==0.0.*
|
2022-07-19 09:01:47 +00:00
|
|
|
, tls >=1.6.0 && <1.7
|
2021-07-25 19:27:09 +00:00
|
|
|
, transformers ==0.5.*
|
|
|
|
, unliftio ==0.2.*
|
|
|
|
, unliftio-core ==0.2.*
|
|
|
|
, websockets ==0.12.*
|
|
|
|
, x509 ==1.7.*
|
2021-12-22 19:24:58 +00:00
|
|
|
, x509-store ==1.6.*
|
|
|
|
, x509-validation ==1.6.*
|
2022-04-08 14:42:22 +00:00
|
|
|
if flag(swift)
|
2022-04-21 14:16:18 +00:00
|
|
|
cpp-options: -DswiftJSON
|
2021-07-25 19:27:09 +00:00
|
|
|
default-language: Haskell2010
|
|
|
|
|
|
|
|
executable smp-server
|
|
|
|
main-is: Main.hs
|
|
|
|
other-modules:
|
|
|
|
Paths_simplexmq
|
|
|
|
hs-source-dirs:
|
|
|
|
apps/smp-server
|
|
|
|
ghc-options: -Wall -Wcompat -Werror=incomplete-patterns -Wredundant-constraints -Wincomplete-record-updates -Wincomplete-uni-patterns -Wunused-type-patterns -threaded
|
|
|
|
build-depends:
|
|
|
|
QuickCheck ==2.14.*
|
2022-01-29 19:36:02 +00:00
|
|
|
, aeson ==2.0.*
|
2021-07-25 19:27:09 +00:00
|
|
|
, ansi-terminal >=0.10 && <0.12
|
|
|
|
, asn1-encoding ==0.9.*
|
|
|
|
, asn1-types ==0.3.*
|
|
|
|
, async ==2.2.*
|
2022-01-29 19:36:02 +00:00
|
|
|
, attoparsec ==0.14.*
|
2022-07-05 20:08:05 +00:00
|
|
|
, base >=4.14 && <5
|
2021-07-25 19:27:09 +00:00
|
|
|
, base64-bytestring >=1.0 && <1.3
|
|
|
|
, bytestring ==0.10.*
|
2022-04-14 10:33:17 +00:00
|
|
|
, case-insensitive ==1.2.*
|
2021-07-25 19:27:09 +00:00
|
|
|
, composition ==1.0.*
|
|
|
|
, constraints >=0.12 && <0.14
|
|
|
|
, containers ==0.6.*
|
|
|
|
, cryptonite >=0.27 && <0.30
|
|
|
|
, cryptostore ==0.2.*
|
2021-12-15 07:48:57 +00:00
|
|
|
, data-default ==0.7.*
|
2021-07-25 19:27:09 +00:00
|
|
|
, direct-sqlite ==2.3.*
|
|
|
|
, directory ==1.3.*
|
|
|
|
, filepath ==1.4.*
|
|
|
|
, generic-random >=1.3 && <1.5
|
2021-12-02 17:43:05 +00:00
|
|
|
, http-types ==0.12.*
|
2022-04-14 10:33:17 +00:00
|
|
|
, http2 ==3.0.*
|
2021-07-25 19:27:09 +00:00
|
|
|
, ini ==0.4.*
|
|
|
|
, iso8601-time ==0.1.*
|
|
|
|
, memory ==0.15.*
|
|
|
|
, mtl ==2.2.*
|
2022-06-16 07:49:07 +00:00
|
|
|
, network >=3.1.2.7 && <3.2
|
2021-07-25 19:27:09 +00:00
|
|
|
, network-transport ==0.5.*
|
|
|
|
, optparse-applicative >=0.15 && <0.17
|
2021-12-15 07:48:57 +00:00
|
|
|
, process ==1.6.*
|
2021-07-25 19:27:09 +00:00
|
|
|
, random >=1.1 && <1.3
|
|
|
|
, simple-logger ==0.1.*
|
|
|
|
, simplexmq
|
2022-07-23 12:57:10 +00:00
|
|
|
, socks ==0.6.*
|
2021-07-25 19:27:09 +00:00
|
|
|
, sqlite-simple ==0.4.*
|
|
|
|
, stm ==2.5.*
|
|
|
|
, template-haskell ==2.16.*
|
|
|
|
, text ==1.2.*
|
|
|
|
, time ==1.9.*
|
2022-06-16 14:35:45 +00:00
|
|
|
, time-compat ==1.9.*
|
2022-04-14 10:33:17 +00:00
|
|
|
, time-manager ==0.0.*
|
2022-07-19 09:01:47 +00:00
|
|
|
, tls >=1.6.0 && <1.7
|
2021-07-25 19:27:09 +00:00
|
|
|
, transformers ==0.5.*
|
|
|
|
, unliftio ==0.2.*
|
|
|
|
, unliftio-core ==0.2.*
|
|
|
|
, websockets ==0.12.*
|
|
|
|
, x509 ==1.7.*
|
2021-12-22 19:24:58 +00:00
|
|
|
, x509-store ==1.6.*
|
|
|
|
, x509-validation ==1.6.*
|
2022-04-08 14:42:22 +00:00
|
|
|
if flag(swift)
|
2022-04-21 14:16:18 +00:00
|
|
|
cpp-options: -DswiftJSON
|
2021-07-25 19:27:09 +00:00
|
|
|
default-language: Haskell2010
|
|
|
|
|
|
|
|
test-suite smp-server-test
|
|
|
|
type: exitcode-stdio-1.0
|
|
|
|
main-is: Test.hs
|
|
|
|
other-modules:
|
|
|
|
AgentTests
|
2021-12-02 17:43:05 +00:00
|
|
|
AgentTests.ConnectionRequestTests
|
2021-12-25 17:13:53 +00:00
|
|
|
AgentTests.DoubleRatchetTests
|
2021-07-25 19:27:09 +00:00
|
|
|
AgentTests.FunctionalAPITests
|
2022-04-18 07:57:55 +00:00
|
|
|
AgentTests.NotificationTests
|
2022-05-24 18:28:40 +00:00
|
|
|
AgentTests.SchemaDump
|
2021-07-25 19:27:09 +00:00
|
|
|
AgentTests.SQLiteTests
|
2022-01-01 13:10:19 +00:00
|
|
|
CoreTests.EncodingTests
|
|
|
|
CoreTests.ProtocolErrorTests
|
|
|
|
CoreTests.VersionRangeTests
|
2022-04-14 10:33:17 +00:00
|
|
|
NtfClient
|
2022-04-08 07:47:04 +00:00
|
|
|
NtfServerTests
|
2021-07-25 19:27:09 +00:00
|
|
|
ServerTests
|
|
|
|
SMPAgentClient
|
|
|
|
SMPClient
|
|
|
|
Paths_simplexmq
|
|
|
|
hs-source-dirs:
|
|
|
|
tests
|
|
|
|
ghc-options: -Wall -Wcompat -Werror=incomplete-patterns -Wredundant-constraints -Wincomplete-record-updates -Wincomplete-uni-patterns -Wunused-type-patterns
|
|
|
|
build-depends:
|
|
|
|
HUnit ==1.6.*
|
|
|
|
, QuickCheck ==2.14.*
|
2022-01-29 19:36:02 +00:00
|
|
|
, aeson ==2.0.*
|
2021-07-25 19:27:09 +00:00
|
|
|
, ansi-terminal >=0.10 && <0.12
|
|
|
|
, asn1-encoding ==0.9.*
|
|
|
|
, asn1-types ==0.3.*
|
|
|
|
, async ==2.2.*
|
2022-01-29 19:36:02 +00:00
|
|
|
, attoparsec ==0.14.*
|
2022-07-05 20:08:05 +00:00
|
|
|
, base >=4.14 && <5
|
2021-07-25 19:27:09 +00:00
|
|
|
, base64-bytestring >=1.0 && <1.3
|
|
|
|
, bytestring ==0.10.*
|
2022-04-14 10:33:17 +00:00
|
|
|
, case-insensitive ==1.2.*
|
2021-07-25 19:27:09 +00:00
|
|
|
, composition ==1.0.*
|
|
|
|
, constraints >=0.12 && <0.14
|
|
|
|
, containers ==0.6.*
|
|
|
|
, cryptonite >=0.27 && <0.30
|
2021-12-22 19:24:58 +00:00
|
|
|
, cryptostore ==0.2.*
|
2021-12-15 07:48:57 +00:00
|
|
|
, data-default ==0.7.*
|
2021-07-25 19:27:09 +00:00
|
|
|
, direct-sqlite ==2.3.*
|
|
|
|
, directory ==1.3.*
|
|
|
|
, filepath ==1.4.*
|
|
|
|
, generic-random >=1.3 && <1.5
|
|
|
|
, hspec ==2.7.*
|
|
|
|
, hspec-core ==2.7.*
|
2021-12-02 17:43:05 +00:00
|
|
|
, http-types ==0.12.*
|
2022-04-14 10:33:17 +00:00
|
|
|
, http2 ==3.0.*
|
|
|
|
, ini ==0.4.*
|
2021-07-25 19:27:09 +00:00
|
|
|
, iso8601-time ==0.1.*
|
|
|
|
, memory ==0.15.*
|
|
|
|
, mtl ==2.2.*
|
2022-06-16 07:49:07 +00:00
|
|
|
, network >=3.1.2.7 && <3.2
|
2021-07-25 19:27:09 +00:00
|
|
|
, network-transport ==0.5.*
|
2022-04-14 10:33:17 +00:00
|
|
|
, optparse-applicative >=0.15 && <0.17
|
|
|
|
, process ==1.6.*
|
2021-07-25 19:27:09 +00:00
|
|
|
, random >=1.1 && <1.3
|
|
|
|
, simple-logger ==0.1.*
|
|
|
|
, simplexmq
|
2022-07-23 12:57:10 +00:00
|
|
|
, socks ==0.6.*
|
2021-07-25 19:27:09 +00:00
|
|
|
, sqlite-simple ==0.4.*
|
|
|
|
, stm ==2.5.*
|
|
|
|
, template-haskell ==2.16.*
|
|
|
|
, text ==1.2.*
|
|
|
|
, time ==1.9.*
|
2022-06-16 14:35:45 +00:00
|
|
|
, time-compat ==1.9.*
|
2022-04-14 10:33:17 +00:00
|
|
|
, time-manager ==0.0.*
|
2021-07-25 19:27:09 +00:00
|
|
|
, timeit ==2.0.*
|
2022-07-19 09:01:47 +00:00
|
|
|
, tls >=1.6.0 && <1.7
|
2021-07-25 19:27:09 +00:00
|
|
|
, transformers ==0.5.*
|
|
|
|
, unliftio ==0.2.*
|
|
|
|
, unliftio-core ==0.2.*
|
|
|
|
, websockets ==0.12.*
|
|
|
|
, x509 ==1.7.*
|
2021-12-22 19:24:58 +00:00
|
|
|
, x509-store ==1.6.*
|
|
|
|
, x509-validation ==1.6.*
|
2022-04-08 14:42:22 +00:00
|
|
|
if flag(swift)
|
2022-04-21 14:16:18 +00:00
|
|
|
cpp-options: -DswiftJSON
|
2021-07-25 19:27:09 +00:00
|
|
|
default-language: Haskell2010
|