Files
openidea/sdk/rust/openidea-plugin/Cargo.toml
Arnaud Ritti 63065bab64 feat(plugins): deliver batched filesystem events (#2049)
Closes #1948

Plugins receive debounced batches of files created, changed and removed outside the editor in open projects, as SDK `Event::FilesChanged` (delivered through `other("files-changed", …)`, so released WIT is unchanged), under the `events` capability and the plugin's path filters. Activation on these events requires API 1.3. Batches are coalesced per plugin through its actor, survive cancellation without losing deltas, and are dropped when the project or host shuts down.

Co-authored-by: arnaud-ritti <[email protected]>
2026-11-08 07:25:01 +08:00

25 lines
618 B
TOML

[package]
name = "openidea-plugin"
version = "0.1.0"
edition = "2024"
description = "SDK for OpenIDEA plugins: typed host API, plugin trait, and a mock host for `cargo test`"
license = "Apache-2.0"
publish = false
# Standalone: plugins depend on it by path or version; not part of the IDE workspace.
[workspace]
[lib]
path = "src/lib.rs"
[target.'cfg(target_arch = "wasm32")'.dependencies]
wit-bindgen = "0.63"
[dependencies]
serde = { version = "1", features = ["derive"] }
serde_json = "1"
[dev-dependencies]
# Reads the WIT in tests/wit_coverage.rs (the version wit-bindgen already uses).
wit-parser = "0.262"