2023-07-11 15:19:45 -07:00
|
|
|
# Package
|
|
|
|
|
|
2025-12-23 23:23:31 +02:00
|
|
|
version = "0.6.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
|
2025-12-11 13:47:10 +01:00
|
|
|
requires "nim >= 2.2.4 & < 3.0.0"
|
2025-02-13 20:54:49 +01:00
|
|
|
requires "secp256k1 >= 0.6.0 & < 0.7.0"
|
2025-12-11 13:47:10 +01:00
|
|
|
requires "nimcrypto >= 0.6.2 & < 0.8.0"
|
2025-02-13 12:15:22 +11:00
|
|
|
requires "bearssl >= 0.2.5 & < 0.3.0"
|
2025-12-11 13:47:10 +01:00
|
|
|
requires "chronicles >= 0.11.2 & < 0.13.0"
|
|
|
|
|
requires "chronos >= 4.0.4 & < 4.1.0"
|
|
|
|
|
requires "libp2p >= 1.14.1 & < 2.0.0"
|
2025-02-13 20:54:49 +01:00
|
|
|
requires "metrics >= 0.1.0 & < 0.2.0"
|
2025-12-11 13:47:10 +01:00
|
|
|
requires "stew >= 0.4.2"
|
2025-02-13 12:08:09 +11:00
|
|
|
requires "stint >= 0.8.1 & < 0.9.0"
|
2025-12-15 13:46:04 +01:00
|
|
|
requires "https://github.com/logos-storage/nim-datastore >= 0.2.1 & < 0.3.0"
|
2024-12-10 10:05:36 +01:00
|
|
|
requires "questionable >= 0.10.15 & < 0.11.0"
|
2025-12-11 13:47:10 +01:00
|
|
|
requires "leveldbstatic >= 0.2.1 & < 0.3.0"
|
2023-07-11 15:19:45 -07:00
|
|
|
|
2024-08-20 11:04:48 +02: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"
|