nim-raft/raft.nimble

28 lines
772 B
Plaintext
Raw Normal View History

# nim-raft
# Copyright (c) 2023 Status Research & Development GmbH
# Licensed under either of
# * Apache License, version 2.0, ([LICENSE-APACHE](LICENSE-APACHE))
# * MIT license ([LICENSE-MIT](LICENSE-MIT))
# at your option.
# This file may not be copied, modified, or distributed except according to
# those terms.
mode = ScriptMode.Verbose
packageName = "raft"
version = "0.0.1"
author = "Status Research & Development GmbH"
description = "raft consensus in nim"
license = "Apache License 2.0"
skipDirs = @["tests"]
2023-08-31 16:18:29 +00:00
requires "nim >= 1.6.14"
requires "stew >= 0.1.0"
requires "unittest2 >= 0.0.4"
2023-08-25 09:00:40 +00:00
requires "uuids >= 0.1.11"
requires "nimterop >= 0.6.13"
2023-08-31 16:18:29 +00:00
task test, "Run tests":
2024-02-09 14:56:33 +00:00
exec "nim c -r tests/test_consensus_state_machine.nim "
2023-08-31 16:18:29 +00:00