[package]
name = "jasper-plugin-sdk"
version = "0.4.1"
edition = "2021"
description = "Jasper plugin SDK: ABI glue (plugin_dispatch/host_call), typed host wrappers, storage trait, notes/ai + system.locale host APIs, editor.transform slot (spec 0.4)"
license = "MIT OR Apache-2.0"
repository = "https://github.com/jasper-note/jasper"
readme = "README.md"
keywords = ["jasper", "joplin", "plugin", "wasm", "sdk"]
categories = ["wasm", "api-bindings"]
[dependencies]
jasper-core = { path = "../core", version = "0.4", features = ["serde"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
base64 = "0.22"
[target.'cfg(target_arch = "wasm32")'.dependencies]
getrandom = { version = "0.2", features = ["custom"] }
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
ureq = { version = "2", optional = true }
[features]
native-host = ["dep:ureq"]