26 releases (17 breaking)
Uses new Rust 2024
| 0.110.0 | Jan 18, 2026 |
|---|---|
| 0.109.1 | Dec 2, 2025 |
| 0.109.0 | Nov 29, 2025 |
| 0.106.1 | Jul 29, 2025 |
| 0.96.1 | Jul 29, 2024 |
#805 in Encoding
4,966 downloads per month
Used in 81 crates
(5 directly)
1.5MB
31K
SLoC
Type definitions, including full Serialize and Deserialize implementations, for the protocol
used for communication between the engine and a plugin.
See the plugin protocol reference for more details on what exactly is being specified here.
Plugins accept messages of PluginInput and send messages back of PluginOutput. This
crate explicitly avoids implementing any functionality that depends on I/O, so the exact
byte-level encoding scheme is not implemented here. See the protocol ref or nu_plugin_core for
more details on how that works.
nu-plugin-protocol
This crate provides serde-compatible types for implementing the Nushell plugin protocol. It is primarily used by the nu-plugin family of crates, but can also be used separately as well.
The specifics of I/O and serialization are not included in this crate. Use serde_json and/or rmp-serde (with the named serialization) to turn the types in this crate into data in the wire format.
Dependencies
~23–56MB
~1M SLoC