udpate rust toolchain to rust 1.81.0 (#14473)

# Description

With the release of rust 1.83.0 it's time to update to rust 1.81.0.
This commit is contained in:
Darren Schroeder 2024-11-29 14:46:58 -06:00 committed by GitHub
parent 5f04bbbb8b
commit 91bb566ee6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 12 additions and 3 deletions

View File

@ -10,7 +10,7 @@ homepage = "https://www.nushell.sh"
license = "MIT" license = "MIT"
name = "nu" name = "nu"
repository = "https://github.com/nushell/nushell" repository = "https://github.com/nushell/nushell"
rust-version = "1.80.1" rust-version = "1.81.0"
version = "0.100.1" version = "0.100.1"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@ -1,3 +1,5 @@
#![allow(clippy::byte_char_slices)]
use nu_cmd_base::hook::eval_hook; use nu_cmd_base::hook::eval_hook;
use nu_engine::{eval_block, eval_block_with_early_return}; use nu_engine::{eval_block, eval_block_with_early_return};
use nu_parser::{lex, parse, unescape_unquote_string, Token, TokenContents}; use nu_parser::{lex, parse, unescape_unquote_string, Token, TokenContents};

View File

@ -1,3 +1,5 @@
#![allow(clippy::byte_char_slices)]
use crate::{ use crate::{
lex, lite_parse, lex, lite_parse,
parser::{is_variable, parse_value}, parser::{is_variable, parse_value},
@ -7,7 +9,6 @@ use nu_protocol::{
engine::StateWorkingSet, engine::StateWorkingSet,
ParseError, Span, SyntaxShape, Type, VarId, ParseError, Span, SyntaxShape, Type, VarId,
}; };
pub fn garbage(span: Span) -> MatchPattern { pub fn garbage(span: Span) -> MatchPattern {
MatchPattern { MatchPattern {
pattern: Pattern::Garbage, pattern: Pattern::Garbage,

View File

@ -1,3 +1,5 @@
#![allow(clippy::byte_char_slices)]
use crate::{lex::lex_signature, parser::parse_value, trim_quotes, TokenContents}; use crate::{lex::lex_signature, parser::parse_value, trim_quotes, TokenContents};
use nu_protocol::{engine::StateWorkingSet, ParseError, Span, SyntaxShape, Type}; use nu_protocol::{engine::StateWorkingSet, ParseError, Span, SyntaxShape, Type};

View File

@ -1,3 +1,5 @@
#![allow(clippy::byte_char_slices)]
use crate::{ use crate::{
lex::{is_assignment_operator, lex, lex_n_tokens, lex_signature, LexState}, lex::{is_assignment_operator, lex, lex_n_tokens, lex_signature, LexState},
lite_parser::{lite_parse, LiteCommand, LitePipeline, LiteRedirection, LiteRedirectionTarget}, lite_parser::{lite_parse, LiteCommand, LitePipeline, LiteRedirection, LiteRedirectionTarget},

View File

@ -1,3 +1,5 @@
#![allow(clippy::byte_char_slices)]
use nu_parser::{lex, lex_n_tokens, lex_signature, LexState, Token, TokenContents}; use nu_parser::{lex, lex_n_tokens, lex_signature, LexState, Token, TokenContents};
use nu_protocol::{ParseError, Span}; use nu_protocol::{ParseError, Span};

View File

@ -16,4 +16,4 @@ profile = "default"
# use in nushell, we may opt to use the bleeding edge stable version of rust. # use in nushell, we may opt to use the bleeding edge stable version of rust.
# I believe rust is on a 6 week release cycle and nushell is on a 4 week release cycle. # I believe rust is on a 6 week release cycle and nushell is on a 4 week release cycle.
# So, every two nushell releases, this version number should be bumped by one. # So, every two nushell releases, this version number should be bumped by one.
channel = "1.80.1" channel = "1.81.0"