[package]
name = "graphrt-plugin"
description = "Plugin host for graphrt: load node kinds and tools from external processes, HTTP services or WebAssembly modules."
readme = "README.md"
documentation = "https://docs.rs/graphrt-plugin"
homepage = "https://github.com/BimaPangestu28/graphrt"
keywords = ["plugin", "json-rpc", "workflow", "agent", "extension"]
categories = ["development-tools", "asynchronous"]
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
repository.workspace = true
[features]
default = ["process", "http", "yaml", "git"]
process = ["tokio/process"]
http = ["dep:reqwest", "dep:rustls"]
yaml = ["dep:serde-saphyr"]
git = []
[dependencies]
graphrt-core.workspace = true
futures.workspace = true
thiserror.workspace = true
serde.workspace = true
serde_json.workspace = true
indexmap.workspace = true
tokio = { workspace = true, features = ["rt", "sync", "time", "io-util", "macros"] }
sha2 = { version = "0.11", default-features = false }
serde-saphyr = { workspace = true, optional = true }
reqwest = { workspace = true, optional = true, features = ["rustls-no-provider", "json", "stream"] }
rustls = { version = "0.23", optional = true, default-features = false, features = ["ring", "std", "tls12"] }
[dev-dependencies]
graphrt-core = { workspace = true, features = ["tokio", "jinja", "yaml"] }
graphrt-plugin-sdk = { workspace = true }
tokio = { workspace = true, features = ["rt", "rt-multi-thread", "macros", "time", "io-util", "net", "process"] }
[lints]
workspace = true