Rust 1.85, edition=2024 (#15741)

This commit is contained in:
Jack Wright
2025-05-13 07:49:30 -07:00
committed by GitHub
parent 1a0986903f
commit c2ac8f730e
793 changed files with 4276 additions and 3687 deletions

View File

@ -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 {

View File

@ -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};

View File

@ -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};

View File

@ -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;