logos-storage-nim-dht/codexdht.nimble
2024-08-15 09:42:18 +02:00

47 lines
1.3 KiB
Nim

# Package
version = "0.4.0"
author = "Status Research & Development GmbH"
description = "DHT based on Eth discv5 implementation"
license = "MIT"
skipDirs = @["tests"]
# Dependencies
requires "secp256k1#2acbbdcc0e63002a013fff49f015708522875832" # >= 0.5.2 & < 0.6.0
requires "protobuf_serialization" # >= 0.2.0 & < 0.3.0
requires "nimcrypto >= 0.5.4"
requires "bearssl#667b40440a53a58e9f922e29e20818720c62d9ac"
requires "chronicles >= 0.10.2 & < 0.11.0"
requires "chronos#dc3847e4d6733dfc3811454c2a9c384b87343e26"
requires "libp2p#cde5ed7e8ccc3b452878db4c82c6f2f2e70d28f4"
requires "metrics"
requires "stew#head"
requires "stint"
requires "https://github.com/codex-storage/nim-datastore#86e15cb6a99cc205ad4f575d2ce04ff510ae5fc5"
requires "questionable"
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"
task coverage, "Run the test coverage":
exec "nimble install -d -y"
withDir "tests":
exec "nimble coverage"