mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 05:24:56 +02:00
Rust 1.85, edition=2024 (#15741)
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
authors = ["The Nushell Project Developers"]
|
||||
description = "An I/O plugin for a set of file formats for Nushell"
|
||||
repository = "https://github.com/nushell/nushell/tree/main/crates/nu_plugin_formats"
|
||||
edition = "2021"
|
||||
edition = "2024"
|
||||
license = "MIT"
|
||||
name = "nu_plugin_formats"
|
||||
version = "0.104.1"
|
||||
@ -20,4 +20,4 @@ plist = "1.7"
|
||||
chrono = "0.4"
|
||||
|
||||
[dev-dependencies]
|
||||
nu-plugin-test-support = { path = "../nu-plugin-test-support", version = "0.104.1" }
|
||||
nu-plugin-test-support = { path = "../nu-plugin-test-support", version = "0.104.1" }
|
||||
|
@ -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