Files
Baradb/clients/nim/baradb.nimble
T
dimgigov ed5a71913c
CI / test (push) Has been cancelled
CI / verify (push) Has been cancelled
Clients CI / build-server (push) Has been cancelled
Clients CI / test-python (push) Has been cancelled
Clients CI / test-javascript (push) Has been cancelled
Clients CI / test-nim (push) Has been cancelled
Clients CI / test-rust (push) Has been cancelled
fix: harden exception handling, break ARC cycles, sync license/client
Replace bare except: with CatchableError across storage, query, Raft,
backup, and protocol code so Defects are not swallowed. Break uncollectable
ARC cycles in server shard/gossip callbacks via Server-owned refs and
cursor locals. Align package license with LICENSE (BSD-3-Clause), sync
README version, and point test_all at the canonical clients/nim baradb
client (parseConnectionString + aliases).
2026-07-23 01:07:51 +03:00

28 lines
801 B
Nim

# Package
version = "1.2.0"
author = "BaraDB Team"
description = "Official Nim client for BaraDB — async binary protocol client"
license = "BSD-3-Clause"
srcDir = "src"
# Dependencies — only Nim stdlib, no server code
requires "nim >= 2.2.0"
# Export the client module
bin = @[]
task test, "Run all client tests (unit + integration if server available)":
exec "nim c -r tests/test_client.nim"
# Integration tests are compiled separately; they auto-skip if no server.
try:
exec "nim c -r tests/test_integration.nim"
except:
echo "Integration tests skipped (no server on localhost:9472)"
task test_unit, "Run unit tests only":
exec "nim c -r tests/test_client.nim"
task example, "Run basic example":
exec "nim c -r examples/basic.nim"