-
Notifications
You must be signed in to change notification settings - Fork 4
Extract wire protocol to ant-protocol; bump to 0.11.0 #73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -23,6 +23,19 @@ name = "ant-devnet" | |||||||||||||||||
| path = "src/bin/ant-devnet/main.rs" | ||||||||||||||||||
|
|
||||||||||||||||||
| [dependencies] | ||||||||||||||||||
| # Wire protocol — the single version-pin shared with ant-client. | ||||||||||||||||||
| # Bumping ant-protocol's `evmlib`/`saorsa-core`/`saorsa-pqc` pins ripples | ||||||||||||||||||
| # through here automatically; we keep a direct saorsa-core dep for | ||||||||||||||||||
| # node-only DHT internals (DHTNode, TrustEvent, DhtNetworkEvent), which | ||||||||||||||||||
| # Cargo unifies with ant-protocol's version constraint. | ||||||||||||||||||
| # | ||||||||||||||||||
| # TODO: swap to `ant-protocol = "2.0.0"` once 2.0.0 is on crates.io. | ||||||||||||||||||
| # The git ref is the tagged `main` commit at the time of this PR and | ||||||||||||||||||
| # stays byte-for-byte identical to what will be published. | ||||||||||||||||||
| # TODO: swap to `ant-protocol = "2.0.0"` once 2.0.0 is on crates.io. | ||||||||||||||||||
| # The pinned commit matches the current `WithAutonomi/ant-protocol` main. | ||||||||||||||||||
|
Comment on lines
+35
to
+36
|
||||||||||||||||||
| # TODO: swap to `ant-protocol = "2.0.0"` once 2.0.0 is on crates.io. | |
| # The pinned commit matches the current `WithAutonomi/ant-protocol` main. |
Copilot
AI
Apr 17, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ant-protocol is currently pulled via a git dependency. If ant-node is intended to be published to crates.io as 0.11.0, cargo publish will fail because published crates cannot depend on git (or path) dependencies. Please switch this to a crates.io version requirement (e.g. 2.0.0) before merge/release, and if you still need the pinned revision for development, consider using a temporary [patch.crates-io] override in a non-published workspace context instead.
| # | |
| # TODO: swap to `ant-protocol = "2.0.0"` once 2.0.0 is on crates.io. | |
| # The git ref is the tagged `main` commit at the time of this PR and | |
| # stays byte-for-byte identical to what will be published. | |
| # TODO: swap to `ant-protocol = "2.0.0"` once 2.0.0 is on crates.io. | |
| # The pinned commit matches the current `WithAutonomi/ant-protocol` main. | |
| ant-protocol = { git = "https://github.com/WithAutonomi/ant-protocol", rev = "597dbdb1b680a43d80a082d77076ff2080444079" } | |
| ant-protocol = "2.0.0" |
Copilot
AI
Apr 21, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ant-node cannot be published to crates.io with a git dependency, and the PR description says the ant-protocol 2.0.0 publish should happen before merge. This should be switched to a crates.io version pin (e.g. ant-protocol = "2.0.0") before merging/releasing, and the duplicate TODO line should be removed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The comment above the
ant-protocoldependency mentions using a "git ref" / "tagged main commit", but the manifest currently uses a localpathdependency. Please update the comment to match the actual dependency strategy (path vs git vs crates.io) to avoid confusion during release/publish steps.