mirror of
https://github.com/l0ng-ai/openidea.git
synced 2026-11-06 08:07:49 +00:00
check_component only compared import names and the API version, so a component built from unreleased WIT (a function added under @1.0.0) or missing the plugin world's exports passed `openidea-plugin check` and installing, then failed when the IDE started it. It now links the component against the host's linker and reports the missing or mismatched function with what to do. Closes #1468
26 lines
842 B
TOML
26 lines
842 B
TOML
[package]
|
|
name = "ide-plugin"
|
|
description = "WebAssembly runtime for plugins (wasmtime component model + WASI preview 2)"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
[dependencies]
|
|
ide-core.workspace = true
|
|
ide-extension.workspace = true
|
|
blake3.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
specta.workspace = true
|
|
thiserror.workspace = true
|
|
tracing.workspace = true
|
|
parking_lot.workspace = true
|
|
semver = "1"
|
|
wasmtime = { version = "49.0.4", default-features = false, features = ["runtime", "cranelift", "component-model", "std", "parallel-compilation", "async"] }
|
|
wasmtime-wasi = { version = "49.0.4", default-features = false, features = ["p2"] }
|
|
|
|
[dev-dependencies]
|
|
tempfile.workspace = true
|
|
tokio = { workspace = true, features = ["rt-multi-thread", "macros", "time"] }
|
|
wat = "1.258"
|