2023-07-11 15:19:45 -07:00
|
|
|
# Package
|
|
|
|
|
|
2023-07-25 19:56:25 -07:00
|
|
|
version = "0.4.0"
|
2023-07-11 15:19:45 -07:00
|
|
|
author = "Status Research & Development GmbH"
|
2023-07-21 15:51:42 -06:00
|
|
|
description = "DHT based on Eth discv5 implementation"
|
2023-07-11 15:19:45 -07:00
|
|
|
license = "MIT"
|
|
|
|
|
skipDirs = @["tests"]
|
|
|
|
|
|
|
|
|
|
# Dependencies
|
2023-07-21 15:29:38 -07:00
|
|
|
requires "secp256k1#2acbbdcc0e63002a013fff49f015708522875832" # >= 0.5.2 & < 0.6.0
|
|
|
|
|
requires "protobuf_serialization" # >= 0.2.0 & < 0.3.0
|
2024-05-23 17:49:44 -03:00
|
|
|
requires "nimcrypto >= 0.5.4"
|
2024-08-09 11:23:43 +02:00
|
|
|
requires "bearssl#667b40440a53a58e9f922e29e20818720c62d9ac"
|
2023-07-11 15:19:45 -07:00
|
|
|
requires "chronicles >= 0.10.2 & < 0.11.0"
|
2024-08-12 13:18:52 +02:00
|
|
|
requires "chronos#dc3847e4d6733dfc3811454c2a9c384b87343e26"
|
2024-08-12 15:10:27 +02:00
|
|
|
requires "libp2p#cde5ed7e8ccc3b452878db4c82c6f2f2e70d28f4"
|
2023-07-11 15:19:45 -07:00
|
|
|
requires "metrics"
|
|
|
|
|
requires "stew#head"
|
|
|
|
|
requires "stint"
|
2024-08-14 11:28:19 +02:00
|
|
|
requires "https://github.com/codex-storage/nim-datastore#86e15cb6a99cc205ad4f575d2ce04ff510ae5fc5"
|
2023-07-11 15:19:45 -07:00
|
|
|
requires "questionable"
|
|
|
|
|
|
2024-08-14 10:23:29 +02:00
|
|
|
task testAll, "Run all test suites":
|
|
|
|
|
exec "nimble install -d -y"
|
2024-08-14 10:29:09 +02:00
|
|
|
withDir "tests":
|
2024-08-14 10:23:29 +02:00
|
|
|
exec "nimble testAll"
|
|
|
|
|
|
|
|
|
|
task test, "Run the test suite":
|
|
|
|
|
exec "nimble install -d -y"
|
2024-08-14 10:29:09 +02:00
|
|
|
withDir "tests":
|
2024-08-14 10:23:29 +02:00
|
|
|
exec "nimble test"
|
|
|
|
|
|
|
|
|
|
task testPart1, "Run the test suite part 1":
|
|
|
|
|
exec "nimble install -d -y"
|
2024-08-14 10:29:09 +02:00
|
|
|
withDir "tests":
|
2024-08-14 10:23:29 +02:00
|
|
|
exec "nimble testPart1"
|
|
|
|
|
|
|
|
|
|
task testPart2, "Run the test suite part 2":
|
|
|
|
|
exec "nimble install -d -y"
|
2024-08-14 10:29:09 +02:00
|
|
|
withDir "tests":
|
2024-08-14 10:23:29 +02:00
|
|
|
exec "nimble testPart2"
|