Skip to content

Commit 0b79033

Browse files
fix: add version to aptos-sdk workspace dependency for publishing
cargo publish rejects path-only workspace dependencies (including dev-deps), so aptos-sdk-macros publishing would fail. Adding version = "0.4.0" alongside the path ensures crates.io resolution works correctly. Co-authored-by: Greg Nazario <greg@gnazar.io>
1 parent 88d865b commit 0b79033

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ rust-version = "1.90.0"
2929
[workspace.dependencies]
3030
# Internal crate dependencies.
3131
# Please do not add any test features here: they should be declared by the individual crate.
32-
aptos-sdk = { path = "crates/aptos-sdk" }
32+
aptos-sdk = { version = "0.4.0", path = "crates/aptos-sdk" }
3333
aptos-sdk-macros = { version = "0.2.0", path = "crates/aptos-sdk-macros" }
3434

3535
# External crate dependencies.

0 commit comments

Comments
 (0)