mirror of
https://github.com/nushell/nushell.git
synced 2025-06-30 14:40:06 +02:00
remove capnp protocol for plugin... (#6421)
* remove capnp protocol for plugin... * remove relative doc
This commit is contained in:
@ -4,7 +4,7 @@ use nu_plugin_example::Example;
|
||||
fn main() {
|
||||
// When defining your plugin, you can select the Serializer that could be
|
||||
// used to encode and decode the messages. The available options are
|
||||
// CapnpSerializer and JsonSerializer. Both are defined in the serializer
|
||||
// MsgPackSerializer and JsonSerializer. Both are defined in the serializer
|
||||
// folder in nu-plugin.
|
||||
serve_plugin(&mut Example {}, MsgPackSerializer {})
|
||||
|
||||
|
Reference in New Issue
Block a user