4e7e568525
- Bump version to 1.1.0 across all components - Remove debug CI artifacts (debug.yml, test_all.nim.bak, test_lock) - Update CHANGELOG with v1.1.0 release notes - Bug fixes: irNeg, distributed txn, sharding, Raft majority, MVCC, LSM-Tree, auth (JWT + SCRAM-SHA-256), wire protocol, SQL injection, ReDoS, graph, vector, FTS, build warnings - Client SDKs: JS/TS, Python, Nim, Rust with tests and examples - Docker: production + source + test compose configs - TLA+: crossmodal, backup, recovery specs with symmetry reduction
28 lines
799 B
Nim
28 lines
799 B
Nim
# Package
|
|
|
|
version = "1.1.0"
|
|
author = "BaraDB Team"
|
|
description = "Official Nim client for BaraDB — async binary protocol client"
|
|
license = "Apache-2.0"
|
|
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"
|