mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 20:17:44 +02:00
Nu plugins now depend on nu-plugin crate.
This commit is contained in:
@ -9,6 +9,7 @@ license = "MIT"
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
nu-plugin = { path = "../nu-plugin", version="0.7.0" }
|
||||
nu-protocol = { path = "../nu-protocol", version = "0.7.0" }
|
||||
nu-source = { path = "../nu-source", version = "0.7.0" }
|
||||
nu-errors = { path = "../nu-errors", version = "0.7.0" }
|
||||
|
@ -1,9 +1,8 @@
|
||||
use crossterm::{cursor, terminal, RawScreen};
|
||||
use crossterm::{InputEvent, KeyEvent};
|
||||
use nu_errors::ShellError;
|
||||
use nu_protocol::{
|
||||
outln, serve_plugin, CallInfo, Plugin, Primitive, Signature, UntaggedValue, Value,
|
||||
};
|
||||
use nu_plugin::{serve_plugin, Plugin};
|
||||
use nu_protocol::{outln, CallInfo, Primitive, Signature, UntaggedValue, Value};
|
||||
use nu_source::AnchorLocation;
|
||||
|
||||
use syntect::easy::HighlightLines;
|
||||
|
Reference in New Issue
Block a user