mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 15:16:17 +02:00
Plugin json (#474)
* json encoder * thread to pass messages * description for example
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
use nu_plugin::serve_plugin;
|
||||
use nu_plugin::{serve_plugin, CapnpSerializer};
|
||||
use nu_plugin_inc::Inc;
|
||||
|
||||
fn main() {
|
||||
serve_plugin(&mut Inc::new())
|
||||
serve_plugin(&mut Inc::new(), CapnpSerializer {})
|
||||
}
|
||||
|
Reference in New Issue
Block a user