diff --git a/raft_consensus.nim b/raft_consensus.nim new file mode 100644 index 0000000..21e8eaf --- /dev/null +++ b/raft_consensus.nim @@ -0,0 +1,14 @@ +# nim-raft-consesnsus +# 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. + +import + raft_consensus/raft_consensus_api + +export + raft_consensus_api diff --git a/raft_consensus.nimble b/raft_consensus.nimble new file mode 100644 index 0000000..1ba1de7 --- /dev/null +++ b/raft_consensus.nimble @@ -0,0 +1,22 @@ +# nim-raft-consensus +# 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-consensus" +version = "0.0.1" +author = "Status Research & Development GmbH" +description = "raft consensus in nim" +license = "Apache License 2.0" +skipDirs = @["tests"] + +requires "nim >= 1.2.0" +requires "stew >= 0.1.0" + +# Helper functions diff --git a/raft_consensus/raft_consensus_api.nim b/raft_consensus/raft_consensus_api.nim new file mode 100644 index 0000000..e69de29