Skip to content

Commit fd0f985

Browse files
committed
fix: visibility.
1 parent 6f5977d commit fd0f985

File tree

1 file changed

+25
-19
lines changed
  • crates/aptos/src/move_tool

1 file changed

+25
-19
lines changed

crates/aptos/src/move_tool/mod.rs

Lines changed: 25 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,11 @@ use tokio::task;
6969
use url::Url;
7070

7171
mod aptos_debug_natives;
72-
mod bytecode;
72+
pub mod bytecode;
7373
pub mod coverage;
74-
mod manifest;
74+
pub mod manifest;
7575
pub mod package_hooks;
76-
mod show;
76+
pub mod show;
7777
pub mod stored_package;
7878

7979
const HELLO_BLOCKCHAIN_EXAMPLE: &str = include_str!(
@@ -209,24 +209,30 @@ impl FrameworkPackageArgs {
209209
// Add the framework dependency if it's provided
210210
let mut dependencies = BTreeMap::new();
211211
if let Some(ref path) = self.framework_local_dir {
212-
dependencies.insert(APTOS_FRAMEWORK.to_string(), Dependency {
213-
local: Some(path.display().to_string()),
214-
git: None,
215-
rev: None,
216-
subdir: None,
217-
aptos: None,
218-
address: None,
219-
});
212+
dependencies.insert(
213+
APTOS_FRAMEWORK.to_string(),
214+
Dependency {
215+
local: Some(path.display().to_string()),
216+
git: None,
217+
rev: None,
218+
subdir: None,
219+
aptos: None,
220+
address: None,
221+
},
222+
);
220223
} else {
221224
let git_rev = self.framework_git_rev.as_deref().unwrap_or(DEFAULT_BRANCH);
222-
dependencies.insert(APTOS_FRAMEWORK.to_string(), Dependency {
223-
local: None,
224-
git: Some(APTOS_GIT_PATH.to_string()),
225-
rev: Some(git_rev.to_string()),
226-
subdir: Some(SUBDIR_PATH.to_string()),
227-
aptos: None,
228-
address: None,
229-
});
225+
dependencies.insert(
226+
APTOS_FRAMEWORK.to_string(),
227+
Dependency {
228+
local: None,
229+
git: Some(APTOS_GIT_PATH.to_string()),
230+
rev: Some(git_rev.to_string()),
231+
subdir: Some(SUBDIR_PATH.to_string()),
232+
aptos: None,
233+
address: None,
234+
},
235+
);
230236
}
231237

232238
let manifest = MovePackageManifest {

0 commit comments

Comments
 (0)