standard-plugin-sdk 0.1.1

Write Standard Code plugins in Rust: wasm components against standard:plugin@2.0.0
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.89"
name = "standard-plugin-sdk"
version = "0.1.1"
build = false
include = [
    "src/**",
    "wit/**",
    "examples/**",
    "docs/**",
    "tests/testing_harness.rs",
    "Cargo.toml",
    "README.md",
    "LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Write Standard Code plugins in Rust: wasm components against standard:plugin@2.0.0"
homepage = "https://standardcode.ai"
documentation = "https://docs.rs/standard-plugin-sdk"
readme = "README.md"
keywords = [
    "standard-code",
    "plugin",
    "wasm",
    "component-model",
    "tui",
]
categories = [
    "wasm",
    "api-bindings",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/standardagents/code-rs"
resolver = "2"

[features]
default = ["runtime"]
runtime = []
std = [
    "serde/std",
    "serde_json/std",
]
wasi = [
    "std",
    "dep:wasip2",
]

[lib]
name = "standard_plugin"
path = "src/lib.rs"
doctest = false

[[example]]
name = "clock_card"
crate-type = ["cdylib"]
path = "examples/clock_card.rs"

[[example]]
name = "daemon_http"
crate-type = ["cdylib"]
path = "examples/daemon_http.rs"
required-features = ["wasi"]

[[example]]
name = "heartbeat_daemon"
crate-type = ["cdylib"]
path = "examples/heartbeat_daemon.rs"

[[example]]
name = "shapes_stage"
crate-type = ["cdylib"]
path = "examples/shapes_stage.rs"

[[example]]
name = "together_companion"
crate-type = ["cdylib"]
path = "examples/together_companion.rs"

[[example]]
name = "together_ui"
crate-type = ["cdylib"]
path = "examples/together_ui.rs"

[[test]]
name = "testing_harness"
path = "tests/testing_harness.rs"

[dependencies.libm]
version = "0.2.16"

[dependencies.serde]
version = "1.0.229"
features = [
    "alloc",
    "derive",
]
default-features = false

[dependencies.serde_json]
version = "1.0.151"
features = ["alloc"]
default-features = false

[dependencies.standard-plugin-macros]
version = "=0.1.1"

[dependencies.unicode-segmentation]
version = "1.13.3"

[dependencies.unicode-width]
version = "0.2.2"
default-features = false

[dependencies.wit-bindgen]
version = "0.62.0"
features = [
    "macros",
    "realloc",
]
default-features = false

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.standard-plugin-manifest]
version = "=0.1.1"

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]

[target.'cfg(target_arch = "wasm32")'.dependencies.wasip2]
version = "2.0.1"
optional = true
default-features = false