mirror of
https://github.com/codex-storage/nim-websock.git
synced 2025-02-02 05:44:53 +00:00
64da1a4344
* wip * wip * move http under ws folder * use asyctest * wip * wip * rework response sending * make example work with latest changes * wip request/response * misc * fix example to use new http layer * pass tls flags to client * more cleanup * unused imports * more unsused imports * better headers * add helpre sendError * export sendError * attach selected proto to session * move proto to session * handle unsupported version * fix tests * comment out for now * fix utf8 tests * allow tests to be ran in tls * misc * use Port type * add tls flags * better api * run tls tests * fix tests on windows * allow running tests with tls * mic * wip * fix autobahn ci * handle close * cleanup * logging and error handling * remove old stream
26 lines
889 B
Nim
26 lines
889 B
Nim
packageName = "ws"
|
|
version = "0.1.0"
|
|
author = "Status Research & Development GmbH"
|
|
description = "WS protocol implementation"
|
|
license = "MIT"
|
|
skipDirs = @["examples", "test"]
|
|
|
|
requires "nim >= 1.2.6"
|
|
requires "chronos >= 3.0.0"
|
|
requires "httputils >= 0.2.0"
|
|
requires "chronicles >= 0.10.0"
|
|
requires "stew >= 0.1.0"
|
|
requires "asynctest >= 0.2.0 & < 0.3.0"
|
|
requires "nimcrypto"
|
|
requires "bearssl"
|
|
|
|
task test, "run tests":
|
|
exec "nim c -r --opt:speed -d:debug --verbosity:0 --hints:off -d:chronicles_log_level=info ./tests/testcommon.nim"
|
|
rmFile "./tests/testcommon"
|
|
|
|
exec "nim c -r --opt:speed -d:debug --verbosity:0 --hints:off -d:chronicles_log_level=info ./tests/testwebsockets.nim"
|
|
rmFile "./tests/testwebsockets"
|
|
|
|
exec "nim -d:secure c -r --opt:speed -d:debug --verbosity:0 --hints:off -d:chronicles_log_level=info ./tests/testwebsockets.nim"
|
|
rmFile "./tests/testwebsockets"
|