diff options
Diffstat (limited to 'dht-client.cabal')
-rw-r--r-- | dht-client.cabal | 50 |
1 files changed, 45 insertions, 5 deletions
diff --git a/dht-client.cabal b/dht-client.cabal index aa4de64c..b17ceb14 100644 --- a/dht-client.cabal +++ b/dht-client.cabal | |||
@@ -58,7 +58,7 @@ library | |||
58 | , OverloadedStrings | 58 | , OverloadedStrings |
59 | , RecordWildCards | 59 | , RecordWildCards |
60 | , NondecreasingIndentation | 60 | , NondecreasingIndentation |
61 | hs-source-dirs: src, cryptonite-backport, . | 61 | hs-source-dirs: src, cryptonite-backport, ., Presence |
62 | exposed-modules: Network.SocketLike | 62 | exposed-modules: Network.SocketLike |
63 | Data.Digest.CRC32C | 63 | Data.Digest.CRC32C |
64 | Data.Bits.ByteString | 64 | Data.Bits.ByteString |
@@ -99,6 +99,34 @@ library | |||
99 | Roster | 99 | Roster |
100 | Announcer | 100 | Announcer |
101 | InterruptibleDelay | 101 | InterruptibleDelay |
102 | ByteStringOperators | ||
103 | ClientState | ||
104 | ConfigFiles | ||
105 | ConnectionKey | ||
106 | ConsoleWriter | ||
107 | Control.Concurrent.STM.StatusCache | ||
108 | Control.Concurrent.STM.UpdateStream | ||
109 | ControlMaybe | ||
110 | Data.BitSyntax | ||
111 | DNSCache | ||
112 | EventUtil | ||
113 | FGConsole | ||
114 | GetHostByAddr | ||
115 | LocalPeerCred | ||
116 | LockedChan | ||
117 | Logging | ||
118 | Nesting | ||
119 | Paths | ||
120 | PeerResolve | ||
121 | Server | ||
122 | SockAddr | ||
123 | TraversableT | ||
124 | UTmp | ||
125 | XMPPServer | ||
126 | Util | ||
127 | Presence | ||
128 | PingMachine | ||
129 | Connection | ||
102 | 130 | ||
103 | build-depends: base | 131 | build-depends: base |
104 | , containers | 132 | , containers |
@@ -117,6 +145,7 @@ library | |||
117 | , directory | 145 | , directory |
118 | , bencoding | 146 | , bencoding |
119 | , contravariant | 147 | , contravariant |
148 | , xml-types | ||
120 | 149 | ||
121 | , cryptonite | 150 | , cryptonite |
122 | , memory | 151 | , memory |
@@ -144,6 +173,15 @@ library | |||
144 | , ghc-prim | 173 | , ghc-prim |
145 | , sensible-directory | 174 | , sensible-directory |
146 | , temporary | 175 | , temporary |
176 | , transformers | ||
177 | , conduit | ||
178 | , conduit-extra | ||
179 | , xml-conduit | ||
180 | , unix | ||
181 | , template-haskell | ||
182 | , resourcet | ||
183 | , blaze-builder | ||
184 | , hinotify | ||
147 | 185 | ||
148 | if impl(ghc < 8) | 186 | if impl(ghc < 8) |
149 | Build-depends: transformers | 187 | Build-depends: transformers |
@@ -168,11 +206,12 @@ library | |||
168 | Crypto.Internal.Imports | 206 | Crypto.Internal.Imports |
169 | Crypto.PubKey.Curve25519 | 207 | Crypto.PubKey.Curve25519 |
170 | 208 | ||
171 | C-sources: cbits/cryptonite_xsalsa.c, cbits/cryptonite_salsa.c | 209 | C-sources: cbits/cryptonite_xsalsa.c, cbits/cryptonite_salsa.c, |
210 | Presence/monitortty.c | ||
172 | 211 | ||
173 | -- if flag(aeson) | 212 | -- if flag(aeson) |
174 | build-depends: aeson, aeson-pretty, unordered-containers, vector | 213 | build-depends: aeson, aeson-pretty, unordered-containers, vector |
175 | cpp-options: -DBENCODE_AESON | 214 | cpp-options: -DBENCODE_AESON -DRENDERFLUSH |
176 | if flag(thread-debug) | 215 | if flag(thread-debug) |
177 | exposed-modules: Control.Concurrent.Lifted.Instrument | 216 | exposed-modules: Control.Concurrent.Lifted.Instrument |
178 | Control.Concurrent.Async.Lifted.Instrument | 217 | Control.Concurrent.Async.Lifted.Instrument |
@@ -208,9 +247,10 @@ executable dhtd | |||
208 | , unordered-containers | 247 | , unordered-containers |
209 | , vector | 248 | , vector |
210 | , text | 249 | , text |
250 | , resourcet | ||
211 | 251 | ||
212 | if flag(thread-debug) | 252 | if flag(thread-debug) |
213 | build-depends: time | 253 | build-depends: time |
214 | cpp-options: -DTHREAD_DEBUG | 254 | cpp-options: -DTHREAD_DEBUG -DRENDERFLUSH |
215 | ghc-options: -rtsopts -fdefer-typed-holes | 255 | ghc-options: -rtsopts -fdefer-typed-holes -threaded |
216 | 256 | ||