Skip to content

Commit

Permalink
build(deps): remove unused dependencies (#369)
Browse files Browse the repository at this point in the history
* build(deps): remove unused dependencies

* refactor: remove unused import

* refactor: silence warning as function will be used in the future

* revert: revert removal of tokio-test as used by doc tests
  • Loading branch information
evilrobot-01 authored Dec 19, 2024
1 parent 2a58bf4 commit 661c625
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 39 deletions.
27 changes: 0 additions & 27 deletions 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 Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ git2 = { version = "0.18", features = ["vendored-openssl"] }
glob = "0.3.1"
log = "0.4.20"
mockito = "1.4.0"
predicates = "3.1.0"
tar = "0.4.40"
tempfile = "3.10"
thiserror = "1.0.58"
Expand Down
1 change: 0 additions & 1 deletion crates/pop-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ tower-http = { workspace = true, features = ["fs", "cors"] }
[dev-dependencies]
assert_cmd.workspace = true
contract-extrinsics.workspace = true
predicates.workspace = true
subxt.workspace = true
subxt-signer.workspace = true
sp-weights.workspace = true
Expand Down
1 change: 1 addition & 0 deletions crates/pop-cli/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,7 @@ pub(crate) mod tests {
self
}

#[allow(dead_code)]
pub(crate) fn expect_success(mut self, message: impl Display) -> Self {
self.success_expectations.push(message.to_string());
self
Expand Down
7 changes: 2 additions & 5 deletions crates/pop-contracts/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@ version.workspace = true
[dependencies]
anyhow.workspace = true
duct.workspace = true
flate2.workspace = true
reqwest.workspace = true
tar.workspace = true
tempfile.workspace = true
thiserror.workspace = true
tokio.workspace = true
Expand All @@ -35,10 +33,9 @@ contract-build.workspace = true
contract-extrinsics.workspace = true
contract-transcode.workspace = true
scale-info.workspace = true
# pop
# pop
pop-common = { path = "../pop-common", version = "0.5.0" }

[dev-dependencies]
dirs.workspace = true
mockito.workspace = true
# Used in doc tests.
tokio-test.workspace = true
5 changes: 1 addition & 4 deletions crates/pop-parachains/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,19 @@ version.workspace = true
anyhow.workspace = true
clap.workspace = true
duct.workspace = true
flate2.workspace = true
glob.workspace = true
serde_json.workspace = true
strum.workspace = true
strum_macros.workspace = true
subxt-signer.workspace = true
subxt.workspace = true
tar.workspace = true
tempfile.workspace = true
thiserror.workspace = true
tokio.workspace = true
url.workspace = true

askama.workspace = true
indexmap.workspace = true
reqwest.workspace = true
scale-info.workspace = true
scale-value.workspace = true
sp-core.workspace = true
Expand All @@ -41,5 +38,5 @@ zombienet-sdk.workspace = true
pop-common = { path = "../pop-common", version = "0.5.0" }

[dev-dependencies]
mockito.workspace = true
# Used in doc tests.
tokio-test.workspace = true
1 change: 0 additions & 1 deletion crates/pop-parachains/src/utils/helpers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ mod tests {
use super::*;
use crate::generator::parachain::ChainSpec;
use askama::Template;
use std::env::var;
use tempfile::tempdir;

#[test]
Expand Down

0 comments on commit 661c625

Please sign in to comment.