[package]
edition = "2024"
rust-version = "1.85"
name = "graphrt-plugin-sdk"
version = "0.2.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "SDK for writing graphrt plugins in Rust: expose node kinds and tools over the graphrt plugin protocol."
homepage = "https://github.com/BimaPangestu28/graphrt"
documentation = "https://docs.rs/graphrt-plugin-sdk"
readme = "README.md"
keywords = [
"plugin",
"sdk",
"json-rpc",
"workflow",
"agent",
]
categories = [
"development-tools",
"api-bindings",
]
license = "Apache-2.0"
repository = "https://github.com/BimaPangestu28/graphrt"
[lib]
name = "graphrt_plugin_sdk"
path = "src/lib.rs"
[[example]]
name = "text_stats"
path = "examples/text_stats.rs"
[dependencies.serde]
version = "1"
features = [
"derive",
"rc",
]
[dependencies.serde_json]
version = "1"
features = [
"preserve_order",
"raw_value",
]
[dependencies.tokio]
version = "1"
features = [
"rt",
"sync",
"io-util",
"io-std",
"macros",
]
default-features = false
[dev-dependencies.tokio]
version = "1"
features = [
"rt",
"rt-multi-thread",
"macros",
"time",
"io-util",
]
default-features = false
[lints.clippy]
dbg_macro = "deny"
expect_used = "deny"
indexing_slicing = "warn"
panic = "deny"
print_stdout = "warn"
todo = "deny"
unimplemented = "deny"
unwrap_used = "deny"
[lints.rust]
missing_debug_implementations = "warn"
unsafe_code = "forbid"
[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1