Skip to content

Commit 9c64c2d

Browse files
[package-alt] Implemented a few things for package-alt crate (#22026)
## Description This PR is a collection of several features that were added in the last and current sprint. - improved tests for resolution - fetching and pinning of git dependencies - jsonrpc external resolver - moved the testing infra to the one used in `move-package` - added a basic CLI to read a lockfile/manifest, and build the package (limited support, only parsing mainfests + lockfiles as of now). We want to merge this branch before starting on some larger refactorings around lockfile design + dependency graph building. ## Test plan `cargo nextest run` --- ## Release notes Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required. For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates. - [ ] Protocol: - [ ] Nodes (Validators and Full nodes): - [ ] gRPC: - [ ] JSON-RPC: - [ ] GraphQL: - [ ] CLI: - [ ] Rust SDK: --------- Co-authored-by: Michael D. George <mike.george@mystenlabs.com>
1 parent edbb6aa commit 9c64c2d

File tree

196 files changed

+4149
-866
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

196 files changed

+4149
-866
lines changed

Cargo.lock

Lines changed: 5 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/sui-package-alt/src/sui_flavor.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ use move_package_alt::{
1111
};
1212
use serde::{Deserialize, Serialize};
1313

14-
#[derive(Debug, Serialize, Deserialize, Clone)]
14+
#[derive(Debug, Serialize, Deserialize, Clone, PartialEq)]
1515
#[serde(rename = "kebab-case")]
1616
pub struct OnChainDependency {
1717
on_chain: bool,

external-crates/move/Cargo.lock

Lines changed: 5 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

external-crates/move/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,6 @@ zstd = "0.13.2"
144144

145145
bytecode-interpreter-crypto = { path = "crates/bytecode-interpreter-crypto" }
146146
enum-compat-util = { path = "crates/enum-compat-util" }
147-
external-resolver = { path = "crates/external-resolver" }
148147
invalid-mutations = { path = "crates/invalid-mutations" }
149148
module-generation = { path = "crates/module-generation" }
150149
move-abstract-interpreter = { path = "crates/move-abstract-interpreter" }

external-crates/move/crates/external-resolver/Cargo.toml

Lines changed: 0 additions & 16 deletions
This file was deleted.

external-crates/move/crates/external-resolver/README.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

external-crates/move/crates/external-resolver/src/lib.rs

Lines changed: 0 additions & 260 deletions
This file was deleted.

external-crates/move/crates/external-resolver/tests/data/example.toml

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)