-
```bash
cargo build --all-features
cargo test --all-features -- --test-threads=1 # integration test installs a global subscriber
cargo clippy --all-targets --all-features -- -D warnings
cargo fmt --all -- --check
cargo llvm-cov --all-features --fail-under-lines 80 # coverage gate (>=80%)
```
```bash
DIG_LOG_DIR=/tmp/diglogs DIG_LOG=debug cargo run --example demo
cat /tmp/diglogs/dig-node/dig-node.jsonl.$(date -u +%F) # the JSONL file
```
- -
- -