Plugin directory / Developer / dsh-json-to-rust
dsh-json-to-rust
Verified · install-tested on dsh uckkk
What it does
JSON 转 Rust:JSON → serde Rust 结构体
Works — verified, early-stage project
JSON 转 Rust:JSON → serde Rust 结构体 It installs cleanly and boots without issues in our testing. It's early-stage but functional.
“Verified” means our automated CI actually ran dsh plugin add in a clean profile and it booted — nothing more. Feature descriptions and version compatibility are the author’s claims. This is not a security audit and not an endorsement of third-party code.
README
dsh-json-to-rust · JSON 转 Rust
把 JSON 数据转换为 serde Rust 结构体。纯 Node 实现。
提供的工具
| 工具 | 作用 |
|---|---|
json_to_rust |
JSON → Rust struct |
安装
dsh plugin add dsh-json-to-rust
安装后在 profile 的 package.json 的 dsh.profile.bundles 中加入 "dsh-json-to-rust"。
用法示例
把这个 JSON 转成 Rust 结构体
→ 调用 json_to_rust(data={id:1,name:"test"})
安装
dsh plugin add github:uckkk/dsh-json-to-rust
安装即在本机运行第三方代码,请自行审阅源码。
安装
dsh plugin add github:uckkk/dsh-json-to-rust
使用
安装后在会话中调用该插件注册的工具即可。
许可
MIT
安装即在本机运行第三方代码,请自行审阅源码。
Install
Install the catalog once, then DeepSeek Harness can find and install any plugin from this site automatically:
dsh plugin add dshbase-catalog Then say "install dsh-json-to-rust for me" — your agent finds it in the directory and installs it. Docs: dshbase-catalog · verified packs.
This plugin is GitHub source (not published to npm) — install it straight from the repo:
Web profile:
dsh plugin --profile web add github:uckkk/dsh-json-to-rust Headless (CLI) profile:
dsh plugin --profile headless add github:uckkk/dsh-json-to-rust Test report
Verified: L1 install + L2 load + L3 runtime from GitHub source on dsh 0.1.0-rc.6.