mirror of
https://relay.ngit.dev/npub15qydau2hjma6ngxkl2cyar74wzyjshvl65za5k5rl69264ar2exs5cyejr/ngit-grasp.git
synced 2026-10-05 15:08:24 +00:00
Implements grasp-audit probe with full write path (publish events, poll for repo init, push, verify refs match state) and read-only fallback (find existing announcement, fetch refs). Supports --nsec for whitelisted relays, --json output, and --watch for continuous monitoring.
43 lines
844 B
TOML
43 lines
844 B
TOML
[package]
|
|
name = "grasp-audit"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
rust-version = "1.75"
|
|
description = "Audit and compliance testing tool for GRASP protocol implementations"
|
|
license = "MIT"
|
|
|
|
[[bin]]
|
|
name = "grasp-audit"
|
|
path = "src/bin/grasp-audit.rs"
|
|
|
|
[dependencies]
|
|
# Nostr
|
|
nostr-sdk = { git = "https://github.com/rust-nostr/nostr", rev = "4767ad13" }
|
|
|
|
# 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.11", features = ["json"] }
|
|
regex = "1"
|
|
|
|
# Logging
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
|
|
|
[dev-dependencies]
|
|
tempfile = "3"
|