Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

all: remove unused deps #2871

Merged
merged 3 commits into from
Oct 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
130 changes: 1 addition & 129 deletions Cargo.lock

Large diffs are not rendered by default.

7 changes: 0 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,25 +18,20 @@ rust-version = "1.79"
anyhow = { workspace = true }
async-trait = { workspace = true }
bytes = { workspace = true }
chrono = "0.4"
clap = { version = "3.2.24", features = ["derive", "env"] }
clearscreen = "3"
comfy-table = "7"
command-group = "2"
ctrlc = { version = "3.4", features = ["termination"] }
dialoguer = "0.11"
dirs = { workspace = true }
futures = { workspace = true }
glob = { workspace = true }
http = { workspace = true }
indicatif = "0.17"
is-terminal = "0.4"
itertools = { workspace = true }
lazy_static = "1.5"
levenshtein = "1"
nix = { version = "0.29", features = ["signal"] }
path-absolutize = "3"
rand = { workspace = true }
regex = { workspace = true }
reqwest = { workspace = true }
rpassword = "7"
Expand All @@ -51,15 +46,13 @@ toml = { workspace = true }
tracing = { workspace = true }
url = { workspace = true }
uuid = { version = "1.0", features = ["v4"] }
wasmtime = { workspace = true }
watchexec = { git = "https://github.com/watchexec/watchexec.git", rev = "8e91d26ef6400c1e60b32a8314cbb144fa33f288" }
watchexec-filterer-globset = { git = "https://github.com/watchexec/watchexec.git", rev = "8e91d26ef6400c1e60b32a8314cbb144fa33f288" }

spin-app = { path = "crates/app" }
spin-build = { path = "crates/build" }
spin-common = { path = "crates/common" }
spin-doctor = { path = "crates/doctor" }
spin-expressions = { path = "crates/expressions" }
spin-factor-outbound-networking = { path = "crates/factor-outbound-networking" }
spin-http = { path = "crates/http" }
spin-loader = { path = "crates/loader" }
Expand Down
3 changes: 0 additions & 3 deletions crates/app/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ authors = { workspace = true }
edition = { workspace = true }

[dependencies]
anyhow = { workspace = true }
async-trait = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
spin-locked-app = { path = "../locked-app" }
thiserror = { workspace = true }
2 changes: 0 additions & 2 deletions crates/build/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,10 @@ edition = { workspace = true }

[dependencies]
anyhow = { workspace = true }
futures = { workspace = true }
serde = { workspace = true }
spin-common = { path = "../common" }
spin-manifest = { path = "../manifest" }
subprocess = "0.2"
terminal = { path = "../terminal" }
tokio = { workspace = true, features = ["full"] }
toml = { workspace = true }
tracing = { workspace = true }
1 change: 0 additions & 1 deletion crates/compose/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ async-trait = { workspace = true }
indexmap = "2"
semver = "1"
spin-app = { path = "../app" }
spin-componentize = { workspace = true }
spin-serde = { path = "../serde" }
thiserror = { workspace = true }
wac-graph = "0.6"
Expand Down
1 change: 0 additions & 1 deletion crates/expressions/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ edition = { workspace = true }
[dependencies]
anyhow = { workspace = true }
async-trait = { workspace = true }
serde = { workspace = true }
spin-locked-app = { path = "../locked-app" }
thiserror = { workspace = true }

Expand Down
1 change: 0 additions & 1 deletion crates/factor-outbound-http/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ spin-factor-outbound-networking = { path = "../factor-outbound-networking" }
spin-factors = { path = "../factors" }
spin-telemetry = { path = "../telemetry" }
spin-world = { path = "../world" }
terminal = { path = "../terminal" }
tokio = { workspace = true, features = ["macros", "rt", "net"] }
tokio-rustls = { version = "0.26", default-features = false, features = ["logging", "tls12"] }
tracing = { workspace = true }
Expand Down
5 changes: 0 additions & 5 deletions crates/factor-outbound-mysql/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,11 @@ doctest = false

[dependencies]
anyhow = { workspace = true }
flate2 = "1"
# Removing default features for mysql_async to remove flate2/zlib feature
mysql_async = { version = "0.34", default-features = false, features = [
"native-tls-tls",
] }
# Removing default features for mysql_common to remove flate2/zlib feature
mysql_common = { version = "0.32", default-features = false }
spin-app = { path = "../app" }
spin-core = { path = "../core" }
spin-expressions = { path = "../expressions" }
spin-factor-outbound-networking = { path = "../factor-outbound-networking" }
spin-factors = { path = "../factors" }
spin-resource-table = { path = "../table" }
Expand Down
1 change: 0 additions & 1 deletion crates/factor-outbound-networking/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ spin-factors = { path = "../factors" }
spin-locked-app = { path = "../locked-app" }
spin-manifest = { path = "../manifest" }
spin-serde = { path = "../serde" }
terminal = { path = "../terminal" }
tracing = { workspace = true }
url = { workspace = true }
urlencoding = "2"
Expand Down
2 changes: 0 additions & 2 deletions crates/factor-sqlite/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,11 @@ rust-version.workspace = true

[dependencies]
async-trait = { workspace = true }
serde = { workspace = true }
spin-factors = { path = "../factors" }
spin-locked-app = { path = "../locked-app" }
spin-resource-table = { path = "../table" }
spin-world = { path = "../world" }
tokio = { workspace = true }
toml = { workspace = true }
tracing = { workspace = true }

[dev-dependencies]
Expand Down
2 changes: 0 additions & 2 deletions crates/factor-variables/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,9 @@ authors = { workspace = true }
edition = { workspace = true }

[dependencies]
serde = { workspace = true }
spin-expressions = { path = "../expressions" }
spin-factors = { path = "../factors" }
spin-world = { path = "../world" }
toml = { workspace = true }
tracing = { workspace = true }

[dev-dependencies]
Expand Down
1 change: 0 additions & 1 deletion crates/factor-wasi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ edition = { workspace = true }
[dependencies]
async-trait = { workspace = true }
bytes = { workspace = true }
cap-primitives = "3.0.0"
spin-common = { path = "../common" }
spin-factors = { path = "../factors" }
tokio = { workspace = true }
Expand Down
2 changes: 0 additions & 2 deletions crates/factors-test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,8 @@ authors = { workspace = true }
edition = { workspace = true }

[dependencies]
serde = { workspace = true }
spin-app = { path = "../app" }
spin-factors = { path = "../factors" }
spin-factors-derive = { path = "../factors-derive", features = ["expander"] }
spin-loader = { path = "../loader" }
tempfile = { workspace = true }
toml = { workspace = true }
Expand Down
1 change: 0 additions & 1 deletion crates/factors/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ spin-factors-derive = { path = "../factors-derive" }
thiserror = { workspace = true }
# TODO: make this optional and behind a feature flag
toml = { workspace = true }
tracing = { workspace = true }
wasmtime = { workspace = true }

[lints]
Expand Down
1 change: 0 additions & 1 deletion crates/http/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ percent-encoding = "2"
routefinder = "0.5.4"
serde = { workspace = true }
spin-app = { path = "../app", optional = true }
spin-locked-app = { path = "../locked-app" }
tracing = { workspace = true }
wasmtime = { workspace = true }
wasmtime-wasi-http = { workspace = true, optional = true }
Expand Down
2 changes: 0 additions & 2 deletions crates/key-value-azure/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ futures = { workspace = true }
serde = { workspace = true }
spin-core = { path = "../core" }
spin-factor-key-value = { path = "../factor-key-value" }
tokio = { workspace = true }
url = { workspace = true }

[lints]
workspace = true
1 change: 0 additions & 1 deletion crates/key-value-redis/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ redis = { version = "0.27", features = ["tokio-comp", "tokio-native-tls-comp"] }
serde = { workspace = true }
spin-core = { path = "../core" }
spin-factor-key-value = { path = "../factor-key-value" }
spin-world = { path = "../world" }
tokio = { workspace = true }
url = { workspace = true }

Expand Down
4 changes: 0 additions & 4 deletions crates/llm-local/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,13 @@ anyhow = "1.0"
candle = { git = "https://github.com/huggingface/candle", rev = "e3261216b157a7305c18ccdd766b6e2a41afe483", package = "candle-core" }
candle-nn = { git = "https://github.com/huggingface/candle", rev = "e3261216b157a7305c18ccdd766b6e2a41afe483" }
candle-transformers = { git = "https://github.com/huggingface/candle", rev = "e3261216b157a7305c18ccdd766b6e2a41afe483" }
chrono = "0.4"
lru = "0.12"
num_cpus = "1"
rand = { workspace = true }
safetensors = "0.4"
serde = { workspace = true }
serde_json = { workspace = true }
spin-common = { path = "../common" }
spin-core = { path = "../core" }
spin-world = { path = "../world" }
terminal = { path = "../terminal" }
tokenizers = "0.20"
tokio = { workspace = true, features = ["macros", "sync", "fs"] }
tracing = { workspace = true }
Expand Down
12 changes: 0 additions & 12 deletions crates/loader/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,36 +6,24 @@ edition = { workspace = true }

[dependencies]
anyhow = { workspace = true }
async-trait = { workspace = true }
bytes = { workspace = true }
dirs = { workspace = true }
futures = { workspace = true }
glob = { workspace = true }
indexmap = "2"
itertools = { workspace = true }
lazy_static = "1"
mime_guess = "2"
path-absolutize = { version = "3", features = ["use_unix_paths_on_wasm"] }
regex = { workspace = true }
reqwest = "0.12"
semver = "1"
serde = { workspace = true }
serde_json = { workspace = true }
sha2 = { workspace = true }
shellexpand = "3"
spin-common = { path = "../common" }
spin-factor-outbound-networking = { path = "../factor-outbound-networking" }
spin-locked-app = { path = "../locked-app" }
spin-manifest = { path = "../manifest" }
spin-serde = { path = "../serde" }
tempfile = { workspace = true }
terminal = { path = "../terminal" }
thiserror = { workspace = true }
tokio = { workspace = true }
tokio-util = "0.7"
toml = { workspace = true }
tracing = { workspace = true }
walkdir = "2"
wasm-pkg-loader = "0.4"

[dev-dependencies]
Expand Down
1 change: 0 additions & 1 deletion crates/oci/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ serde_json = { workspace = true }
spin-common = { path = "../common" }
spin-loader = { path = "../loader" }
spin-locked-app = { path = "../locked-app" }
spin-manifest = { path = "../manifest" }
tempfile = { workspace = true }
tokio = { workspace = true, features = ["fs"] }
tokio-util = { version = "0.7", features = ["compat"] }
Expand Down
1 change: 0 additions & 1 deletion crates/plugins/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ edition = { workspace = true }

[dependencies]
anyhow = { workspace = true }
bytes = { workspace = true }
chrono = { version = "0.4", features = ["serde"] }
dirs = { workspace = true }
fd-lock = "4"
Expand Down
1 change: 0 additions & 1 deletion crates/runtime-factors/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ spin-factor-wasi = { path = "../factor-wasi" }
spin-factors = { path = "../factors" }
spin-factors-executor = { path = "../factors-executor" }
spin-runtime-config = { path = "../runtime-config" }
spin-telemetry = { path = "../telemetry" }
spin-trigger = { path = "../trigger" }
terminal = { path = "../terminal" }
tracing = { workspace = true }
Expand Down
1 change: 0 additions & 1 deletion crates/sqlite-inproc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ edition = { workspace = true }
[dependencies]
anyhow = { workspace = true }
async-trait = { workspace = true }
rand = { workspace = true }
rusqlite = { version = "0.32", features = ["bundled"] }
spin-factor-sqlite = { path = "../factor-sqlite" }
spin-world = { path = "../world" }
Expand Down
2 changes: 0 additions & 2 deletions crates/sqlite-libsql/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,8 @@ async-trait = { workspace = true }
# We don't actually use rusqlite itself, but we'd like the same bundled
# libsqlite3-sys as used by spin-sqlite-inproc.
libsql = { version = "0.5", features = ["remote"], default-features = false }
rusqlite = { version = "0.32", features = ["bundled"] }
spin-factor-sqlite = { path = "../factor-sqlite" }
spin-world = { path = "../world" }
sqlparser = "0.51"
tokio = { workspace = true, features = ["full"] }

[lints]
Expand Down
5 changes: 0 additions & 5 deletions crates/sqlite/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,9 @@ authors = { workspace = true }
edition = { workspace = true }

[dependencies]
async-trait = { workspace = true }
serde = { workspace = true }
spin-factor-sqlite = { path = "../factor-sqlite" }
spin-factors = { path = "../factors" }
spin-locked-app = { path = "../locked-app" }
spin-resource-table = { path = "../table" }
spin-sqlite-inproc = { path = "../sqlite-inproc" }
spin-sqlite-libsql = { path = "../sqlite-libsql" }
spin-world = { path = "../world" }
tokio = { workspace = true }
toml = { workspace = true }
3 changes: 0 additions & 3 deletions crates/telemetry/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,11 @@ http0 = { version = "0.2.9", package = "http" }
http1 = { version = "1.0.0", package = "http" }
opentelemetry = { workspace = true }
opentelemetry-otlp = { version = "0.25", features = ["http-proto", "http", "reqwest-client"] }
opentelemetry-semantic-conventions = "0.25"
opentelemetry_sdk = { workspace = true }
terminal = { path = "../terminal" }
tracing = { workspace = true }
tracing-appender = "0.2"
tracing-opentelemetry = { workspace = true }
tracing-subscriber = { version = "0.3", default-features = false, features = ["smallvec", "fmt", "ansi", "std", "env-filter", "json", "registry"] }
url = { workspace = true }

[features]
tracing-log-compat = ["tracing-subscriber/tracing-log", "tracing-opentelemetry/tracing-log"]
5 changes: 0 additions & 5 deletions crates/templates/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,7 @@ edition = { workspace = true }

[dependencies]
anyhow = { workspace = true }
async-trait = { workspace = true }
bytes = { workspace = true }
console = "0.15"
dialoguer = "0.11"
dirs = { workspace = true }
fs_extra = "1"
heck = "0.5"
indexmap = { version = "2", features = ["serde"] }
Expand All @@ -19,7 +15,6 @@ lazy_static = "1"
liquid = "0.26"
liquid-core = "0.26"
liquid-derive = "0.26"
liquid-lib = "0.26"
path-absolutize = "3"
pathdiff = "0.2"
regex = { workspace = true }
Expand Down
7 changes: 0 additions & 7 deletions crates/trigger-http/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,12 @@ doctest = false

[dependencies]
anyhow = { workspace = true }
async-trait = { workspace = true }
clap = "3"
futures = { workspace = true }
futures-util = "0.3"
http = { workspace = true }
http-body-util = { workspace = true }
hyper = { workspace = true }
hyper-util = { version = "0.1", features = ["tokio"] }
indexmap = "2"
percent-encoding = "2"
rustls = { workspace = true }
rustls-pemfile = "2.1.2"
rustls-pki-types = "1.7"
Expand All @@ -38,11 +34,8 @@ terminal = { path = "../terminal" }
tokio = { workspace = true, features = ["full"] }
tokio-rustls = { version = "0.26", default-features = false, features = ["logging", "tls12"] }
tracing = { workspace = true }
url = { workspace = true }
wasmtime = { workspace = true }
wasmtime-wasi = { workspace = true }
wasmtime-wasi-http = { workspace = true }
webpki-roots = { version = "0.26" }

[lints]
workspace = true
1 change: 0 additions & 1 deletion crates/trigger-redis/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ doctest = false

[dependencies]
anyhow = { workspace = true }
async-trait = { workspace = true }
futures = { workspace = true }
redis = { version = "0.27", features = ["tokio-comp"] }
serde = { workspace = true }
Expand Down
1 change: 0 additions & 1 deletion crates/trigger/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ spin-factors = { path = "../factors" }
spin-factors-executor = { path = "../factors-executor" }
spin-telemetry = { path = "../telemetry" }
tokio = { workspace = true, features = ["fs", "rt"] }
toml = { workspace = true }
tracing = { workspace = true }

[dev-dependencies]
Expand Down
1 change: 0 additions & 1 deletion examples/http-rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ crate-type = ["cdylib"]
[dependencies]
anyhow = "1"
http = "0.2.9"
serde = { version = "1.0", features = ["derive"] }
spin-sdk = "2.2.0"

[workspace]
Loading
Loading