mirror of
https://github.com/nushell/nushell.git
synced 2025-06-30 22:50:14 +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" }
|
||||
|
@ -2,9 +2,10 @@ use base64::encode;
|
||||
use futures::executor::block_on;
|
||||
use mime::Mime;
|
||||
use nu_errors::{CoerceInto, ShellError};
|
||||
use nu_plugin::{serve_plugin, Plugin};
|
||||
use nu_protocol::{
|
||||
serve_plugin, CallInfo, CommandAction, Plugin, Primitive, ReturnSuccess, ReturnValue,
|
||||
Signature, SyntaxShape, UnspannedPathMember, UntaggedValue, Value,
|
||||
CallInfo, CommandAction, Primitive, ReturnSuccess, ReturnValue, Signature, SyntaxShape,
|
||||
UnspannedPathMember, UntaggedValue, Value,
|
||||
};
|
||||
use nu_source::{AnchorLocation, Tag, TaggedItem};
|
||||
use num_traits::cast::ToPrimitive;
|
||||
|
Reference in New Issue
Block a user