Skip to content

Commit 6b76495

Browse files
committed
Cargo: removed unused dependencies in examples and tests
Signed-off-by: Jiaxiao Zhou (Mossaka) <[email protected]>
1 parent 1d69c8c commit 6b76495

File tree

9 files changed

+0
-30
lines changed

9 files changed

+0
-30
lines changed

Cargo.lock

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

examples/http-rust/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ crate-type = ["cdylib"]
99
[dependencies]
1010
anyhow = "1"
1111
http = "0.2.9"
12-
serde = { version = "1.0", features = ["derive"] }
1312
spin-sdk = "2.2.0"
1413

1514
[workspace]

examples/spin-timer/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ edition = "2021"
77
[dependencies]
88
anyhow = "1.0.68"
99
clap = { version = "3.1.15", features = ["derive", "env"] }
10-
futures = "0.3.25"
1110
serde = "1.0.188"
1211
spin-factors = { path = "../../crates/factors" }
1312
spin-runtime-factors = { path = "../../crates/runtime-factors" }

examples/spin-wagi-http/http-rust/Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ crate-type = ["cdylib"]
99
[dependencies]
1010
# Useful crate to handle errors.
1111
anyhow = "1"
12-
# Crate to simplify working with bytes.
13-
bytes = "1"
1412
# General-purpose crate with common HTTP types.
1513
http = "0.2"
1614
# The Spin SDK.

tests/test-components/components/Cargo.lock

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

tests/test-components/components/integration-http-outbound-post/Cargo.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,4 @@ crate-type = ["cdylib"]
88

99
[dependencies]
1010
anyhow = "1.0.71"
11-
futures = "0.3.28"
12-
hex = "0.4.3"
13-
sha2 = "0.10"
14-
url = "2.4.0"
1511
spin-sdk = "2.2.0"

tests/test-components/components/internal-http-streaming-back/Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,5 @@ edition = "2021"
77
crate-type = ["cdylib"]
88

99
[dependencies]
10-
anyhow = "1"
1110
futures = "0.3.30"
12-
helper = { path = "../../helper", default-features = false }
1311
spin-sdk = "2.2"

tests/test-components/helper/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ edition = "2021"
55

66
[dependencies]
77
wit-bindgen = { version = "0.16.0", optional = true }
8-
anyhow = { workspace = true }
98

109
[features]
1110
default = ["define-component"]

tests/testing-framework/Cargo.toml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,16 @@ edition = "2021"
55

66
[dependencies]
77
anyhow = { workspace = true }
8-
fslock = "0.2.1"
98
http = "1.0"
109
http-body-util = "0.1.0"
1110
log = "0.4"
1211
nix = "0.29"
13-
regex = "1.10.2"
1412
reqwest = { workspace = true }
15-
temp-dir = "0.1.11"
1613
test-environment = { workspace = true }
1714
spin-app = { path = "../../crates/app" }
18-
spin-factors-executor = { path = "../../crates/factors-executor" }
1915
spin-http = { path = "../../crates/http" }
2016
spin-loader = { path = "../../crates/loader" }
2117
spin-runtime-factors = { path = "../../crates/runtime-factors" }
2218
spin-trigger = { path = "../../crates/trigger" }
2319
spin-trigger-http = { path = "../../crates/trigger-http" }
24-
toml = { workspace = true }
2520
tokio = { workspace = true }
26-
wasmtime-wasi-http = { workspace = true }

0 commit comments

Comments
 (0)