mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 07:05:47 +02:00
Rust 1.85, edition=2024 (#15741)
This commit is contained in:
@ -5,8 +5,8 @@ use std::{
|
||||
|
||||
use nu_plugin_engine::{GetPlugin, PluginInterface};
|
||||
use nu_protocol::{
|
||||
engine::{EngineState, Stack},
|
||||
PluginGcConfig, PluginIdentity, PluginMetadata, RegisteredPlugin, ShellError,
|
||||
engine::{EngineState, Stack},
|
||||
};
|
||||
|
||||
pub struct FakePersistentPlugin {
|
||||
|
@ -1,8 +1,8 @@
|
||||
use std::{ops::Deref, sync::Arc};
|
||||
|
||||
use nu_plugin::{create_plugin_signature, Plugin};
|
||||
use nu_plugin::{Plugin, create_plugin_signature};
|
||||
use nu_plugin_engine::PluginDeclaration;
|
||||
use nu_protocol::{engine::StateWorkingSet, RegisteredPlugin, ShellError};
|
||||
use nu_protocol::{RegisteredPlugin, ShellError, engine::StateWorkingSet};
|
||||
|
||||
use crate::{fake_persistent_plugin::FakePersistentPlugin, spawn_fake_plugin::spawn_fake_plugin};
|
||||
|
||||
|
@ -8,10 +8,11 @@ use nu_plugin::{Plugin, PluginCommand};
|
||||
use nu_plugin_engine::{PluginCustomValueWithSource, PluginSource, WithSource};
|
||||
use nu_plugin_protocol::PluginCustomValue;
|
||||
use nu_protocol::{
|
||||
CustomValue, Example, IntoSpanned as _, LabeledError, PipelineData, ShellError, Signals, Span,
|
||||
Value,
|
||||
debugger::WithoutDebug,
|
||||
engine::{EngineState, Stack, StateWorkingSet},
|
||||
report_shell_error, CustomValue, Example, IntoSpanned as _, LabeledError, PipelineData,
|
||||
ShellError, Signals, Span, Value,
|
||||
report_shell_error,
|
||||
};
|
||||
|
||||
use crate::{diff::diff_by_line, fake_register::fake_register};
|
||||
|
@ -1,10 +1,10 @@
|
||||
use std::sync::{mpsc, Arc};
|
||||
use std::sync::{Arc, mpsc};
|
||||
|
||||
use nu_plugin::Plugin;
|
||||
use nu_plugin_core::{InterfaceManager, PluginRead, PluginWrite};
|
||||
use nu_plugin_engine::{PluginInterfaceManager, PluginSource};
|
||||
use nu_plugin_protocol::{PluginInput, PluginOutput};
|
||||
use nu_protocol::{shell_error::io::IoError, PluginIdentity, ShellError};
|
||||
use nu_protocol::{PluginIdentity, ShellError, shell_error::io::IoError};
|
||||
|
||||
use crate::fake_persistent_plugin::FakePersistentPlugin;
|
||||
|
||||
|
Reference in New Issue
Block a user