Skip to content

Commit

Permalink
chore: remove redundant tracing deps; resolves #252
Browse files Browse the repository at this point in the history
  • Loading branch information
dj8yf0μl committed Dec 4, 2024
1 parent 889fb09 commit f2955b3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
1 change: 0 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion integration-tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ cargo-near-build = { version = "0.3.2", path = "../cargo-near-build" }
cargo-near = { path = "../cargo-near" }
colored = "2.0"
tracing = "0.1.40"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
prettyplease = "0.2"
syn = "2"

Expand Down
8 changes: 3 additions & 5 deletions integration-tests/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,7 @@ pub fn invoke_cargo_near(
let mut cargo_toml = match cargo_path {
Some(cargo_path) => {
let file = [env!("CARGO_MANIFEST_DIR"), cargo_path].concat();
let content = String::from_utf8(std::fs::read(&file)?)?;
content
String::from_utf8(std::fs::read(&file)?)?
}
None => include_str!(concat!(
env!("CARGO_MANIFEST_DIR"),
Expand Down Expand Up @@ -109,12 +108,11 @@ pub fn invoke_cargo_near(
no_doc: cmd.no_doc,
compact_abi: cmd.compact_abi,
out_dir: cmd.out_dir.map(Into::into),
manifest_path: Some(cargo_path.into()),
manifest_path: Some(cargo_path),
color: cmd.color.map(Into::into),
};
tracing::debug!("AbiOpts: {:#?}", args);
let path = cargo_near_build::abi::build(args)?;
path
cargo_near_build::abi::build(args)?
}
Some(cargo_near::commands::CliNearCommand::Build(
cargo_near::commands::build::CliCommand {
Expand Down

0 comments on commit f2955b3

Please sign in to comment.