rpi-extensions 0.3.21

Rust-native (cdylib) plugin loader + AgentTool adapter for rpi — libloading + spawn_blocking ABI bridge
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 = "2021"
rust-version = "1.78"
name = "rpi-extensions"
version = "0.3.21"
authors = ["BigFish <bigfish1913@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust-native (cdylib) plugin loader + AgentTool adapter for rpi — libloading + spawn_blocking ABI bridge"
homepage = "https://rpi.laofu.online/"
documentation = "https://docs.rs/rpi-extensions"
readme = "README.md"
keywords = [
    "agent",
    "llm",
    "ai",
    "plugin",
    "ffi",
]
categories = [
    "api-bindings",
    "development-tools::ffi",
]
license = "MIT"
repository = "https://github.com/bigfish1913/pi-rust"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = []

[lib]
name = "rpi_extensions"
path = "src/lib.rs"

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

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

[dependencies.async-trait]
version = "0.1"

[dependencies.dirs]
version = "5"

[dependencies.futures]
version = "0.3"

[dependencies.libloading]
version = "0.8"

[dependencies.rpi-agent]
version = "0.3.21"

[dependencies.rpi-ai]
version = "0.3.21"

[dependencies.rpi-plugin-sdk]
version = "0.3.21"

[dependencies.serde]
version = "1"
features = [
    "derive",
    "rc",
]

[dependencies.serde_json]
version = "1"
features = [
    "preserve_order",
    "raw_value",
]

[dependencies.thiserror]
version = "1"

[dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
    "time",
    "fs",
    "process",
    "sync",
    "io-util",
]

[dependencies.tokio-util]
version = "0.7"
features = ["rt"]

[dependencies.tracing]
version = "0.1"

[dev-dependencies.tempfile]
version = "3"

[dev-dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
    "time",
    "fs",
    "process",
    "sync",
    "io-util",
    "rt",
    "rt-multi-thread",
    "macros",
    "time",
    "sync",
]