mirror of
https://github.com/nushell/nushell.git
synced 2025-08-15 16:43:11 +02:00
Rust 1.85, edition=2024 (#15741)
This commit is contained in:
@ -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"
|
||||
|
@ -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
|
||||
|
@ -1,4 +1,4 @@
|
||||
use nu_plugin::{serve_plugin, MsgPackSerializer};
|
||||
use nu_plugin::{MsgPackSerializer, serve_plugin};
|
||||
use nu_plugin_gstat::GStatPlugin;
|
||||
|
||||
fn main() {
|
||||
|
Reference in New Issue
Block a user