mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 15:25:06 +02:00
add MessagePack as a plugin protocol (#6370)
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
use nu_plugin::{serve_plugin, JsonSerializer};
|
||||
use nu_plugin::{serve_plugin, MsgPackSerializer};
|
||||
use nu_plugin_gstat::GStat;
|
||||
|
||||
fn main() {
|
||||
serve_plugin(&mut GStat::new(), JsonSerializer {})
|
||||
serve_plugin(&mut GStat::new(), MsgPackSerializer {})
|
||||
}
|
||||
|
Reference in New Issue
Block a user