mirror of
https://github.com/nushell/nushell.git
synced 2025-05-19 17:30:45 +02:00
15 lines
331 B
Rust
15 lines
331 B
Rust
use nu_plugin::{MsgPackSerializer, serve_plugin};
|
|
use nu_plugin_polars::PolarsPlugin;
|
|
|
|
fn main() {
|
|
env_logger::init();
|
|
|
|
match PolarsPlugin::new() {
|
|
Ok(ref plugin) => serve_plugin(plugin, MsgPackSerializer {}),
|
|
Err(e) => {
|
|
eprintln!("{}", e);
|
|
std::process::exit(1);
|
|
}
|
|
}
|
|
}
|