feat(console): add runtime management and WIT Registry

- embed wasmeld-runtime behind an Axum management API\n- persist service metadata, metrics, and events with Toasty and libSQL\n- register immutable component artifacts with platform-owned limits\n- publish, list, inspect, and download binary WIT package versions\n- verify Runtime lifecycle, persistence, Registry immutability, and transitive fetch
This commit is contained in:
Maofeng
2026-07-27 05:01:26 +08:00
parent b63cf8c9eb
commit b7fffd0d0f
9 changed files with 4976 additions and 22 deletions
+9
View File
@@ -2,6 +2,7 @@
members = [
"crates/wasmeld-package",
"crates/wasmeld-runtime",
"crates/wasmeld-console",
"components/echo",
"components/counter",
"components/fault",
@@ -18,13 +19,21 @@ rust-version = "1.90"
license = "Apache-2.0"
[workspace.dependencies]
axum = { version = "0.8.9", features = ["multipart"] }
base64 = "0.23.0"
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 = ["component-model", "cranelift", "runtime", "std"] }
wasmtime-wasi = { version = "=41.0.0", default-features = false, features = ["p2"] }
wit-bindgen = "=0.41.0"