mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 23:07:46 +02:00
Rust 1.85, edition=2024 (#15741)
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
[package]
|
||||
authors = ["The Nushell Project Developers"]
|
||||
description = "Nushell utility functions"
|
||||
edition = "2021"
|
||||
edition = "2024"
|
||||
license = "MIT"
|
||||
name = "nu-utils"
|
||||
repository = "https://github.com/nushell/nushell/tree/main/crates/nu-utils"
|
||||
@ -39,4 +39,4 @@ crossterm_winapi = "0.9"
|
||||
nix = { workspace = true, default-features = false, features = ["user", "fs"] }
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
workspace = true
|
||||
|
@ -1,5 +1,5 @@
|
||||
#[cfg(unix)]
|
||||
use nix::unistd::{access, AccessFlags};
|
||||
use nix::unistd::{AccessFlags, access};
|
||||
#[cfg(any(windows, unix))]
|
||||
use std::path::Path;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
use serde_json::{json, Map, Value as SerdeValue};
|
||||
use serde_json::{Map, Value as SerdeValue, json};
|
||||
|
||||
/// JsonFlattener is the main driver when flattening JSON
|
||||
/// # Examples
|
||||
|
Reference in New Issue
Block a user