Skip to content

docs(spec): correct the dig-node-core P2P dependency list to match Cargo.toml - #132

Merged
MichaelTaylor3d merged 1 commit into
mainfrom
docs/1455/spec-p2p-deps
Aug 2, 2026
Merged

docs(spec): correct the dig-node-core P2P dependency list to match Cargo.toml#132
MichaelTaylor3d merged 1 commit into
mainfrom
docs/1455/spec-p2p-deps

Conversation

@MichaelTaylor3d

Copy link
Copy Markdown
Contributor

Closes #1455.

Problem

SPEC.md §1.1 listed dig-protocol among dig-node-core's direct P2P dependencies and described the deps as consumed "as git dependencies." Verified against the current crates/dig-node-core/Cargo.toml, both are inaccurate:

  • dig-protocol is not a dependency. It was renamed to dig-peer-protocol (#1383) and is not a direct dep of dig-node-core — it only gates dig-gossip's crates.io publish (#681).
  • The blanket "as git dependencies" was imprecise: the P2P crates are consumed from crates.io per §3.6 (dig-nat 0.15, dig-dht 0.9, dig-pex 0.1, dig-download 0.13, dig-peer-selector 0.8), with the single exception of dig-gossip (a pinned git rev until its publish is unblocked). Only the digstore-* store-format crates are git deps.

Fix

Corrected the SPEC list to drop the phantom dig-protocol and state the real dependency sources (crates.io for the P2P crates except dig-gossip; git for dig-gossip + digstore-*), matching Cargo.toml exactly. Docs only — no code change.

Version

0.72.30.72.4 (patchdocs:), re-locked.

🤖 Generated with Claude Code

Co-Authored-By: Claude noreply@anthropic.com


Generated by Claude Code

…rgo.toml
SPEC.md §1.1 listed `dig-protocol` among dig-node-core's direct P2P dependencies,
but that crate is not a dependency: it was renamed to `dig-peer-protocol` (#1383)
and is not a direct dep of dig-node-core (it only gates dig-gossip's crates.io
publish, #681). The blanket "as git dependencies" phrasing was also imprecise —
the P2P crates are consumed from crates.io (§3.6) except `dig-gossip`, which stays
a pinned git dependency until its publish is unblocked; only the digstore store-
format crates are git deps. Corrected to match the actual `crates/dig-node-core/
Cargo.toml` (dig-nat/dig-dht/dig-pex/dig-download/dig-peer-selector = crates.io,
dig-gossip = git rev, digstore-* = git). Docs only, no code change.
Closes #1455
Co-Authored-By: Claude <noreply@anthropic.com>
@MichaelTaylor3d
MichaelTaylor3d merged commit 9b6fd4e into mainAug 2, 2026
15 checks passed
@MichaelTaylor3d
MichaelTaylor3d deleted the docs/1455/spec-p2p-deps branch August 2, 2026 03:51
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@MichaelTaylor3d@claude