[workspace]
members = [
  "crates/wasmeld-package",
  "crates/wasmeld-runtime",
  "crates/wasmeld-console",
  "components/echo",
  "components/counter",
  "components/fault",
  "components/spin",
  "components/clock-probe",
  "components/kv-probe",
  "components/resident-probe",
  "components/wasi-clock-probe",
]
default-members = ["crates/wasmeld-runtime"]
resolver = "2"

[workspace.package]
edition = "2024"
rust-version = "1.90"
license = "Apache-2.0"

[workspace.dependencies]
axum = { version = "0.8.9", features = ["multipart"] }
base64 = "0.23.0"
include_dir = "0.7.4"
mime_guess = "2.0.5"
reqwest = { version = "0.13.4", default-features = false, features = ["blocking", "json", "multipart", "rustls"] }
serde = { version = "1.0.228", features = ["derive"] }
serde_json = "1.0.149"
semver = "1.0.28"
sha2 = "0.10.9"
thiserror = "2.0.17"
toasty = "=0.9.0"
toasty-driver-turso = "=0.9.0"
tokio = { version = "1.53.1", features = ["macros", "net", "rt-multi-thread", "signal", "sync"] }
toml = "0.9.8"
tower-http = { version = "0.7.0", features = ["cors", "trace"] }
tracing = "0.1.44"
tracing-subscriber = { version = "0.3.23", features = ["env-filter", "fmt"] }
wasmtime = { version = "=41.0.0", default-features = false, features = ["cache", "component-model", "cranelift", "runtime", "std"] }
wasmtime-wasi = { version = "=41.0.0", default-features = false, features = ["p2"] }
wit-bindgen = "=0.41.0"
wit-component = "=0.243.0"
wit-parser = "0.243.0"
zip = { version = "2.4.2", default-features = false, features = ["deflate"] }
