chore: remove all pre-nim-1.6 deadcode from codebase (#2857)

This commit is contained in:
Darshan K 2024-06-28 16:04:57 +05:30 committed by GitHub
parent 092add1ca2
commit 9bd8c33aee
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
171 changed files with 171 additions and 684 deletions

View File

@ -4,10 +4,7 @@
when not (compileOption("threads")): when not (compileOption("threads")):
{.fatal: "Please, compile this program with the --threads:on option!".} {.fatal: "Please, compile this program with the --threads:on option!".}
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import std/[strformat, strutils, times, options, random] import std/[strformat, strutils, times, options, random]
import import

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import import
std/[tables, times, strutils, hashes, sequtils], std/[tables, times, strutils, hashes, sequtils],

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import import
std/[options, strutils, os, sequtils, net], std/[options, strutils, os, sequtils, net],

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import import
std/[sets, tables, strutils, sequtils, options, strformat], std/[sets, tables, strutils, sequtils, options, strformat],

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import import
chronicles, chronicles,

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import import
std/[tables, strutils, times, sequtils, random], std/[tables, strutils, times, sequtils, random],

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import import
std/[json, tables, sequtils], std/[json, tables, sequtils],

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import import
std/json, std/json,

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import import
std/[options, strutils, sequtils, net], std/[options, strutils, sequtils, net],

View File

@ -1,8 +1,5 @@
## Nim wrappers for the functions defined in librln ## Nim wrappers for the functions defined in librln
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import stew/results import stew/results

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import import
../../waku/common/logging, ../../waku/factory/[waku, networks_config, external_config] ../../waku/common/logging, ../../waku/factory/[waku, networks_config, external_config]

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import import
stew/results, stew/results,

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import import
stew/results, chronicles, ./node_spec as Waku, ./stealth_commitment_protocol as SCP stew/results, chronicles, ./node_spec as Waku, ./stealth_commitment_protocol as SCP

View File

@ -1,9 +1,6 @@
{.used.} {.used.}
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import import
std/[options, os, osproc, sequtils, deques, streams, strutils, tempfiles, strformat], std/[options, os, osproc, sequtils, deques, streams, strutils, tempfiles, strformat],

View File

@ -1,9 +1,6 @@
{.used.} {.used.}
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import import
testutils/unittests, testutils/unittests,

View File

@ -1,9 +1,6 @@
{.used.} {.used.}
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import import
./rln/waku_rln_relay_utils, ./rln/waku_rln_relay_utils,

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import stew/[results, byteutils, base64] import stew/[results, byteutils, base64]

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import confutils/defs as confutilsDefs import confutils/defs as confutilsDefs
import ../../envvar_serialization import ../../envvar_serialization

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import std/[strutils, net] import std/[strutils, net]
import ../../../envvar_serialization import ../../../envvar_serialization

View File

@ -1,9 +1,6 @@
# Simple async pool driver for postgress. # Simple async pool driver for postgress.
# Inspired by: https://github.com/treeform/pg/ # Inspired by: https://github.com/treeform/pg/
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import std/[sequtils, nre, strformat, sets], stew/results, chronos import std/[sequtils, nre, strformat, sets], stew/results, chronos
import ./dbconn, ../common import ./dbconn, ../common

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import import
std/[options, net], std/[options, net],

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import import
std/options, stew/results, eth/keys as eth_keys, libp2p/crypto/crypto as libp2p_crypto std/options, stew/results, eth/keys as eth_keys, libp2p/crypto/crypto as libp2p_crypto

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import stew/shims/macros, serialization import stew/shims/macros, serialization
import ./envvar_serialization/reader, ./envvar_serialization/writer import ./envvar_serialization/reader, ./envvar_serialization/writer

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import import
std/[tables, typetraits, options, os], std/[tables, typetraits, options, os],

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import std/[os, strutils], stew/byteutils, stew/ptrops import std/[os, strutils], stew/byteutils, stew/ptrops

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
type type
HexDataStr* = distinct string HexDataStr* = distinct string

View File

@ -8,10 +8,7 @@ import
export chronicles.LogLevel export chronicles.LogLevel
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
type LogFormat* = enum type LogFormat* = enum
TEXT TEXT

View File

@ -1,8 +1,5 @@
## An extension wrapper around nim-chronos ## An extension wrapper around nim-chronos
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import chronos, chronicles import chronos, chronicles

View File

@ -1,9 +1,6 @@
# Extensions for libp2p's protobuf library implementation # Extensions for libp2p's protobuf library implementation
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import std/options, libp2p/protobuf/minprotobuf, libp2p/varint import std/options, libp2p/protobuf/minprotobuf, libp2p/varint

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import std/options, chronos/timer, libp2p/stream/connection import std/options, chronos/timer, libp2p/stream/connection

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import chronos import chronos

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import std/[httpclient, json, uri, options], stew/results import std/[httpclient, json, uri, options], stew/results

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import std/[options, strutils, net] import std/[options, strutils, net]
import chronicles, eth/net/nat, stew/results, nativesockets import chronicles, eth/net/nat, stew/results, nativesockets

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
proc flatten*[T](a: seq[seq[T]]): seq[T] = proc flatten*[T](a: seq[seq[T]]): seq[T] =
var aFlat = newSeq[T](0) var aFlat = newSeq[T](0)

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import metrics import metrics

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import import
std/[sequtils, strutils, options, sets, net, json], std/[sequtils, strutils, options, sets, net, json],

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
## A set of utilities to integrate EIP-1459 DNS-based discovery ## A set of utilities to integrate EIP-1459 DNS-based discovery
## for Waku v2 nodes. ## for Waku v2 nodes.

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import import
std/[options, net], std/[options, net],

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
type ClusterConf* = object type ClusterConf* = object
maxMessageSize*: string maxMessageSize*: string

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import import
chronicles, chronicles,

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import import
std/[options, sequtils], std/[options, sequtils],

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import import
std/[options, sequtils, strutils, net], std/[options, sequtils, strutils, net],

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import std/[options], chronos import std/[options], chronos

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import import
std/[options, sets, sequtils, times, strutils, math, random], std/[options, sets, sequtils, times, strutils, math, random],

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import std/[tables, strutils, os], stew/results, chronicles import std/[tables, strutils, os], stew/results, chronicles
import ../../../common/databases/db_sqlite, ../../../common/databases/common import ../../../common/databases/db_sqlite, ../../../common/databases/common

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import stew/results import stew/results
import ../../../waku_core, ../waku_peer_store import ../../../waku_core, ../waku_peer_store

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import import
std/[sets, options], std/[sets, options],

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import import
std/[tables, sequtils, sets, options, strutils], std/[tables, sequtils, sets, options, strutils],

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import chronicles, chronos, metrics, metrics/chronos_httpserver import chronicles, chronos, metrics, metrics/chronos_httpserver
import import

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import import
std/[hashes, options, sugar, tables, strutils, sequtils, os, net], std/[hashes, options, sugar, tables, strutils, sequtils, os, net],

View File

@ -1,8 +1,5 @@
# Waku Switch utils. # Waku Switch utils.
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import import
std/options, std/options,

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import metrics import metrics

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import stew/results import stew/results
import ../waku_core, ../waku_noise/noise_types, ../waku_noise/noise_utils import ../waku_core, ../waku_noise/noise_types, ../waku_noise/noise_utils

View File

@ -1,9 +1,6 @@
# Request utils. # Request utils.
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import bearssl/rand, stew/byteutils import bearssl/rand, stew/byteutils

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import chronos, std/[options, sequtils], stew/results import chronos, std/[options, sequtils], stew/results
import ../discovery/waku_discv5, ../waku_relay, ../waku_core, ./message_cache import ../discovery/waku_discv5, ../waku_relay, ../waku_core, ./message_cache

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import import
std/[sequtils, sugar, algorithm, options], std/[sequtils, sugar, algorithm, options],

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import import
chronicles, chronicles,

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import import
std/[strformat, sequtils, tables], std/[strformat, sequtils, tables],

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import import
chronicles, chronicles,

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import net, tables import net, tables
import presto import presto

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import presto/client import presto/client

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import import
chronicles, json_serialization, json_serialization/std/options, presto/[route, client] chronicles, json_serialization, json_serialization/std/options, presto/[route, client]

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import chronicles, json_serialization, presto/route import chronicles, json_serialization, presto/route
import ../../../waku_node, ../responses, ../serdes, ./types import ../../../waku_node, ../responses, ../serdes, ./types

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import chronicles, json_serialization, json_serialization/std/options import chronicles, json_serialization, json_serialization/std/options
import ../../../waku_node, ../serdes import ../../../waku_node, ../serdes

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import import
json, json,

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import import
std/strformat, std/strformat,

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import import
std/[sets, strformat], std/[sets, strformat],

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import import
chronicles, json_serialization, json_serialization/std/options, presto/[route, client] chronicles, json_serialization, json_serialization/std/options, presto/[route, client]

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import chronicles, json_serialization, presto/route import chronicles, json_serialization, presto/route
import ../../../waku_node, ../responses, ../serdes, ./types import ../../../waku_node, ../responses, ../serdes, ./types

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import chronicles, json_serialization, json_serialization/std/options import chronicles, json_serialization, json_serialization/std/options
import ../../../waku_node, ../serdes import ../../../waku_node, ../serdes

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import import
chronicles, json_serialization, json_serialization/std/options, presto/[route, client] chronicles, json_serialization, json_serialization/std/options, presto/[route, client]

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import std/strformat, stew/results, chronicles, uri, json_serialization, presto/route import std/strformat, stew/results, chronicles, uri, json_serialization, presto/route
import import

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import import
std/[sets, strformat, uri], std/[sets, strformat, uri],

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import import
json, json,

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import import
std/strformat, std/strformat,

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import import
std/[sets, strformat], std/[sets, strformat],

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import import
std/[options, strutils, re, net], std/[options, strutils, re, net],

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import import
std/sets, std/sets,

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import import
std/sequtils, std/sequtils,

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import import
std/[sets, strformat, times], std/[sets, strformat, times],

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import std/typetraits, stew/results, chronicles, presto/common import std/typetraits, stew/results, chronicles, presto/common
import ./serdes import ./serdes

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import import
std/typetraits, std/typetraits,

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import import
std/typetraits, std/typetraits,

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import std/net import std/net
import import

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import import
chronicles, json_serialization, json_serialization/std/options, presto/[route, client] chronicles, json_serialization, json_serialization/std/options, presto/[route, client]

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import std/strformat, stew/results, chronicles, uri, json_serialization, presto/route import std/strformat, stew/results, chronicles, uri, json_serialization, presto/route
import import

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import import
std/[sets, strformat, uri, options, sequtils], std/[sets, strformat, uri, options, sequtils],

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import import
std/[times, options, sequtils, strutils, algorithm], std/[times, options, sequtils, strutils, algorithm],

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import metrics import metrics

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import std/options, stew/results, stew/byteutils, stew/arrayops, nimcrypto/sha2 import std/options, stew/results, stew/byteutils, stew/arrayops, nimcrypto/sha2
import ../waku_core, ../common/paging import ../waku_core, ../common/paging

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import std/options, stew/results, chronos import std/options, stew/results, chronos
import ../waku_core, ./common import ../waku_core, ./common

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import stew/results, chronicles, chronos import stew/results, chronicles, chronos
import import

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import import
./postgres_driver/postgres_driver, ./postgres_driver/postgres_driver,

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import import
std/[nre, options, sequtils, strutils, strformat, times], std/[nre, options, sequtils, strutils, strformat, times],

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import chronos, stew/results import chronos, stew/results
import ../../../common/databases/db_postgres, ../../../common/error_handling import ../../../common/databases/db_postgres, ../../../common/error_handling

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import ./queue_driver/queue_driver, ./queue_driver/index import ./queue_driver/queue_driver, ./queue_driver/index

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import stew/byteutils, nimcrypto/sha2 import stew/byteutils, nimcrypto/sha2
import ../../../waku_core, ../../common import ../../../waku_core, ../../common

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import std/options, stew/results, stew/sorted_set, chronicles, chronos import std/options, stew/results, stew/sorted_set, chronicles, chronos
import ../../../waku_core, ../../common, ../../driver, ./index import ../../../waku_core, ../../common, ../../driver, ./index

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import ./sqlite_driver/sqlite_driver import ./sqlite_driver/sqlite_driver

View File

@ -1,7 +1,4 @@
when (NimMajor, NimMinor) < (1, 4): {.push raises: [].}
{.push raises: [Defect].}
else:
{.push raises: [].}
import ../../../waku_core, ../../common import ../../../waku_core, ../../common

Some files were not shown because too many files have changed in this diff Show More