2023-07-11 22:19:45 +00:00
|
|
|
# Package
|
|
|
|
|
2023-07-26 02:56:25 +00:00
|
|
|
version = "0.4.0"
|
2023-07-11 22:19:45 +00:00
|
|
|
author = "Status Research & Development GmbH"
|
2023-07-21 21:51:42 +00:00
|
|
|
description = "DHT based on Eth discv5 implementation"
|
2023-07-11 22:19:45 +00:00
|
|
|
license = "MIT"
|
|
|
|
skipDirs = @["tests"]
|
|
|
|
|
|
|
|
# Dependencies
|
2023-07-21 22:29:38 +00:00
|
|
|
requires "secp256k1#2acbbdcc0e63002a013fff49f015708522875832" # >= 0.5.2 & < 0.6.0
|
|
|
|
requires "protobuf_serialization" # >= 0.2.0 & < 0.3.0
|
2024-05-23 20:49:44 +00:00
|
|
|
requires "nimcrypto >= 0.5.4"
|
2024-08-20 09:04:48 +00:00
|
|
|
requires "bearssl == 0.2.5"
|
2023-07-11 22:19:45 +00:00
|
|
|
requires "chronicles >= 0.10.2 & < 0.11.0"
|
2024-09-23 13:49:08 +00:00
|
|
|
requires "chronos >= 4.0.3 & < 4.1.0"
|
2024-08-20 09:04:48 +00:00
|
|
|
requires "libp2p == 1.5.0"
|
2023-07-11 22:19:45 +00:00
|
|
|
requires "metrics"
|
|
|
|
requires "stew#head"
|
|
|
|
requires "stint"
|
2024-09-23 13:49:08 +00:00
|
|
|
requires "https://github.com/codex-storage/nim-datastore >= 0.1.1 & < 0.2.0"
|
2023-07-11 22:19:45 +00:00
|
|
|
requires "questionable"
|
|
|
|
|
2024-08-20 09:04:48 +00:00
|
|
|
task testAll, "Run all test suites":
|
|
|
|
exec "nimble install -d -y"
|
|
|
|
withDir "tests":
|
|
|
|
exec "nimble testAll"
|
|
|
|
|
|
|
|
task test, "Run the test suite":
|
|
|
|
exec "nimble install -d -y"
|
|
|
|
withDir "tests":
|
|
|
|
exec "nimble test"
|
|
|
|
|
|
|
|
task testPart1, "Run the test suite part 1":
|
|
|
|
exec "nimble install -d -y"
|
|
|
|
withDir "tests":
|
|
|
|
exec "nimble testPart1"
|
|
|
|
|
|
|
|
task testPart2, "Run the test suite part 2":
|
|
|
|
exec "nimble install -d -y"
|
|
|
|
withDir "tests":
|
|
|
|
exec "nimble testPart2"
|