mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 23:07:46 +02:00
Rust 1.85, edition=2024 (#15741)
This commit is contained in:
@ -1,10 +1,10 @@
|
||||
use crate::FormatCmdsPlugin;
|
||||
use eml_parser::eml::*;
|
||||
use eml_parser::EmlParser;
|
||||
use eml_parser::eml::*;
|
||||
use indexmap::IndexMap;
|
||||
use nu_plugin::{EngineInterface, EvaluatedCall, SimplePluginCommand};
|
||||
use nu_protocol::{
|
||||
record, Category, Example, LabeledError, ShellError, Signature, Span, SyntaxShape, Type, Value,
|
||||
Category, Example, LabeledError, ShellError, Signature, Span, SyntaxShape, Type, Value, record,
|
||||
};
|
||||
|
||||
const DEFAULT_BODY_PREVIEW: usize = 50;
|
||||
|
@ -4,7 +4,7 @@ use ical::{parser::ical::component::*, property::Property};
|
||||
use indexmap::IndexMap;
|
||||
use nu_plugin::{EngineInterface, EvaluatedCall, SimplePluginCommand};
|
||||
use nu_protocol::{
|
||||
record, Category, Example, LabeledError, ShellError, Signature, Span, Type, Value,
|
||||
Category, Example, LabeledError, ShellError, Signature, Span, Type, Value, record,
|
||||
};
|
||||
use std::io::BufReader;
|
||||
|
||||
|
@ -2,7 +2,7 @@ use crate::FormatCmdsPlugin;
|
||||
|
||||
use nu_plugin::{EngineInterface, EvaluatedCall, SimplePluginCommand};
|
||||
use nu_protocol::{
|
||||
record, Category, Example, LabeledError, Record, ShellError, Signature, Type, Value,
|
||||
Category, Example, LabeledError, Record, ShellError, Signature, Type, Value, record,
|
||||
};
|
||||
|
||||
pub struct FromIni;
|
||||
|
@ -3,7 +3,7 @@ use std::time::SystemTime;
|
||||
use chrono::{DateTime, FixedOffset, Offset, Utc};
|
||||
use nu_plugin::{EngineInterface, EvaluatedCall, PluginCommand, SimplePluginCommand};
|
||||
use nu_protocol::{
|
||||
record, Category, Example, LabeledError, Record, Signature, Span, Value as NuValue,
|
||||
Category, Example, LabeledError, Record, Signature, Span, Value as NuValue, record,
|
||||
};
|
||||
use plist::{Date as PlistDate, Dictionary, Value as PlistValue};
|
||||
|
||||
|
@ -4,7 +4,7 @@ use ical::{parser::vcard::component::*, property::Property};
|
||||
use indexmap::IndexMap;
|
||||
use nu_plugin::{EngineInterface, EvaluatedCall, SimplePluginCommand};
|
||||
use nu_protocol::{
|
||||
record, Category, Example, LabeledError, ShellError, Signature, Span, Type, Value,
|
||||
Category, Example, LabeledError, ShellError, Signature, Span, Type, Value, record,
|
||||
};
|
||||
|
||||
pub struct FromVcf;
|
||||
|
@ -1,4 +1,4 @@
|
||||
use nu_plugin::{serve_plugin, MsgPackSerializer};
|
||||
use nu_plugin::{MsgPackSerializer, serve_plugin};
|
||||
use nu_plugin_formats::FormatCmdsPlugin;
|
||||
|
||||
fn main() {
|
||||
|
Reference in New Issue
Block a user