From 5572dbc8289de934e9ee5bc3f74a0f98365ce3e5 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 21 Apr 2017 17:42:10 -0400 Subject: initial http server Incomplete, but the client is able to connect and send messages which get logged. Split up debug-me.hs into Role/* Switched from cereal to binary, since websockets operate on lazy ByteStrings, and using cereal would involve a copy on every receive. This commit was sponsored by Boyd Stephen Smith Jr. on Patreon. --- debug-me.cabal | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'debug-me.cabal') diff --git a/debug-me.cabal b/debug-me.cabal index f32f195..c7639fd 100644 --- a/debug-me.cabal +++ b/debug-me.cabal @@ -23,21 +23,25 @@ Executable debug-me GHC-Options: -threaded -Wall -fno-warn-tabs -O2 Build-Depends: base (>= 4.9 && < 5.0) + , network (>= 2.6) , bytestring == 0.10.* , cryptonite (>= 0.20) , unix (>= 2.7) , process (>= 1.4) , async (>= 2.1) , stm (>= 2.4) + , stm-chans (>= 3.0) , posix-pty (>= 0.2.1) , terminal-size (>= 0.3) , aeson (>= 0.11 && < 1.1) , sandi (>= 0.4) , text (>= 1.2.2) - , cereal (>= 0.5) + , binary (>= 0.8) , optparse-applicative (>= 0.12) , graphviz (== 2999.18.*) , time (>= 1.6) + , filepath (>= 1.4) + , containers (>= 0.5) , unbounded-delays (>= 0.1) , memory (>= 0.13) , warp (>= 3.2) @@ -54,11 +58,15 @@ Executable debug-me Memory Pty Replay + Role.Developer + Role.User Session Types Serialization Server + SessionID Val + WebSockets source-repository head type: git -- cgit v1.2.3