[package]
edition = "2024"
name = "cha-plugin-sdk"
version = "0.6.3"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "SDK for building Cha WASM analyzer plugins — zero-config, no WIT file needed"
homepage = "https://github.com/W-Mai/Cha"
readme = false
keywords = [
"wasm",
"plugin",
"code-quality",
"static-analysis",
"cha",
]
categories = [
"development-tools",
"wasm",
]
license = "MIT"
repository = "https://github.com/W-Mai/Cha"
resolver = "2"
[features]
test-utils = [
"dep:cha-core",
"dep:cha-parser",
"dep:anyhow",
"dep:toml",
]
[lib]
name = "cha_plugin_sdk"
path = "src/lib.rs"
[dependencies.cha-plugin-sdk-macros]
version = "0.6.3"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.anyhow]
version = "1"
optional = true
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.cha-core]
version = "0.6.3"
optional = true
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.cha-parser]
version = "0.6.3"
optional = true
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.toml]
version = "0.8"
optional = true