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

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,4 +1,4 @@
use nu_plugin::{serve_plugin, MsgPackSerializer};
use nu_plugin::{MsgPackSerializer, serve_plugin};
use nu_plugin_formats::FormatCmdsPlugin;
fn main() {