mirror of
https://github.com/waku-org/nwaku.git
synced 2025-01-30 16:47:48 +00:00
20 lines
383 B
Nim
20 lines
383 B
Nim
|
when (NimMajor, NimMinor) < (1, 4):
|
||
|
{.push raises: [Defect].}
|
||
|
else:
|
||
|
{.push raises: [].}
|
||
|
|
||
|
import
|
||
|
std/[os, strutils],
|
||
|
json_rpc/rpcclient
|
||
|
import
|
||
|
../../../../waku/v2/protocol/waku_store/rpc,
|
||
|
../../../../waku/v2/utils/time,
|
||
|
./types
|
||
|
|
||
|
export types
|
||
|
|
||
|
|
||
|
template sourceDir: string = currentSourcePath.rsplit(DirSep, 1)[0]
|
||
|
|
||
|
createRpcSigs(RpcHttpClient, sourceDir / "callsigs.nim")
|