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 = "A git status plugin for Nushell"
repository = "https://github.com/nushell/nushell/tree/main/crates/nu_plugin_gstat"
edition = "2021"
edition = "2024"
license = "MIT"
name = "nu_plugin_gstat"
version = "0.104.1"
@ -19,4 +19,4 @@ bench = false
nu-plugin = { path = "../nu-plugin", version = "0.104.1" }
nu-protocol = { path = "../nu-protocol", version = "0.104.1" }
git2 = "0.20"
git2 = "0.20"

View File

@ -1,5 +1,5 @@
use git2::{Branch, BranchType, DescribeOptions, Repository};
use nu_protocol::{record, IntoSpanned, LabeledError, Span, Spanned, Value};
use nu_protocol::{IntoSpanned, LabeledError, Span, Spanned, Value, record};
use std::{fmt::Write, ops::BitAnd, path::Path};
// git status

View File

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