From a70778046f97eeba52b52a6f7e8d107b49cb8113 Mon Sep 17 00:00:00 2001 From: Jazz Turner-Baggs <473256+jazzz@users.noreply.github.com> Date: Sun, 24 Aug 2025 09:33:37 -0700 Subject: [PATCH 1/2] Allow external import --- reliability.nimble | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 reliability.nimble diff --git a/reliability.nimble b/reliability.nimble deleted file mode 100644 index 8bc19c8..0000000 --- a/reliability.nimble +++ /dev/null @@ -1,16 +0,0 @@ -# Package -version = "0.1.0" -author = "Waku Team" -description = "E2E Reliability Protocol API" -license = "MIT" -srcDir = "src" - -# Dependencies -requires "nim >= 2.0.8" -requires "chronicles" -requires "libp2p" - -# Tasks -task test, "Run the test suite": - exec "nim c -r tests/test_bloom.nim" - exec "nim c -r tests/test_reliability.nim" From 7883bf7bfa704ea4d9f022026adb2d7796b0bf0f Mon Sep 17 00:00:00 2001 From: Jazz Turner-Baggs <473256+jazzz@users.noreply.github.com> Date: Sun, 24 Aug 2025 11:03:14 -0700 Subject: [PATCH 2/2] Fix import path --- src/protobuf.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/protobuf.nim b/src/protobuf.nim index 1f6d600..377142d 100644 --- a/src/protobuf.nim +++ b/src/protobuf.nim @@ -1,7 +1,7 @@ import libp2p/protobuf/minprotobuf import std/options import endians -import ../src/[message, protobufutil, bloom, reliability_utils] +import ./[message, protobufutil, bloom, reliability_utils] proc encode*(msg: SdsMessage): ProtoBuffer = var pb = initProtoBuffer()