Files
ngit-grasp/grasp-audit/Cargo.toml
T
DanConwayDev e37319d6d3 build: upgrade Nostr dependencies to released 0.45 patches
Our 0.45.0 lockfile predates the released LMDB fix that keeps NIP-77 scans
off async workers. Concurrent scans can otherwise delay unrelated relay
connections. Require the current compatible releases in both workspace
crates and refresh only the six Nostr packages in the shared lockfile.

Use nostr 0.45.5, nostr-sdk/nostr-lmdb 0.45.3, nostr-memory/nostr-database
0.45.2 and nostr-gossip 0.45.1. These also exclude expired reconciliation
items and separate continuation accounting from query starts. Document the
relay validation fixes in the patch-release changelog and update the
architecture dependency examples. All packages use crates.io sources;
there are no Git vendor hashes to update.

Keep the service configuration, release version and production diagnostic
pin unchanged. Retiring the now-redundant local compatibility overrides is
a separate follow-up commit. This upgrade does not claim the production
timeouts have been conclusively attributed to NIP-77 traffic.

Validation: workspace formatting, all-target workspace Clippy with warnings
denied and the full locked workspace test suite pass with the accompanying
compatibility cleanup and separate startup reconstruction race fix. The
initial suite exposed that existing race; its original integration assertion
passes unchanged after the fix. Nix package derivation evaluation succeeds.

Assisted-by: GPT-6
2026-09-17 13:44:47 +00:00

44 lines
894 B
TOML

[package]
name = "grasp-audit"
version = "0.2.0"
edition = "2021"
rust-version = "1.85"
description = "Audit and compliance testing tool for GRASP protocol implementations"
license = "MIT"
repository = "https://gitworkshop.dev/danconwaydev.com/ngit-grasp"
[[bin]]
name = "grasp-audit"
path = "src/bin/grasp-audit.rs"
[dependencies]
# Nostr
nostr-sdk = "0.45.3"
# Async
tokio = { version = "1", features = ["full"] }
# Serialization
serde = { version = "1", features = ["derive"] }
serde_json = "1"
# Error handling
anyhow = "1"
# CLI
clap = { version = "4", features = ["derive"] }
# Utilities
uuid = { version = "1", features = ["v4"] }
# HTTP Client
reqwest = { version = "0.13", default-features = false, features = ["json", "native-tls"] }
regex = "1"
# Logging
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
[dev-dependencies]
tempfile = "3"