mirror of
https://github.com/nushell/nushell.git
synced 2025-08-10 06:38:43 +02:00
Replace dirs and directories with maintained (#2949)
This commit is contained in:
@ -7,36 +7,36 @@ name = "nu-engine"
|
||||
version = "0.25.2"
|
||||
|
||||
[dependencies]
|
||||
nu-data = {version = "0.25.2", path = "../nu-data"}
|
||||
nu-errors = {version = "0.25.2", path = "../nu-errors"}
|
||||
nu-parser = {version = "0.25.2", path = "../nu-parser"}
|
||||
nu-plugin = {version = "0.25.2", path = "../nu-plugin"}
|
||||
nu-protocol = {version = "0.25.2", path = "../nu-protocol"}
|
||||
nu-source = {version = "0.25.2", path = "../nu-source"}
|
||||
nu-stream = {version = "0.25.2", path = "../nu-stream"}
|
||||
nu-value-ext = {version = "0.25.2", path = "../nu-value-ext"}
|
||||
nu-data = { version = "0.25.2", path = "../nu-data" }
|
||||
nu-errors = { version = "0.25.2", path = "../nu-errors" }
|
||||
nu-parser = { version = "0.25.2", path = "../nu-parser" }
|
||||
nu-plugin = { version = "0.25.2", path = "../nu-plugin" }
|
||||
nu-protocol = { version = "0.25.2", path = "../nu-protocol" }
|
||||
nu-source = { version = "0.25.2", path = "../nu-source" }
|
||||
nu-stream = { version = "0.25.2", path = "../nu-stream" }
|
||||
nu-value-ext = { version = "0.25.2", path = "../nu-value-ext" }
|
||||
|
||||
ansi_term = "0.12.1"
|
||||
async-recursion = "0.3.1"
|
||||
async-trait = "0.1.40"
|
||||
bytes = "0.5.6"
|
||||
derive-new = "0.5.8"
|
||||
dirs = {version = "3.0.1", optional = true}
|
||||
dirs-next = { version = "2.0.0", optional = true }
|
||||
dunce = "1.0.1"
|
||||
encoding_rs = "0.8.24"
|
||||
filesize = "0.2.0"
|
||||
fs_extra = "1.2.0"
|
||||
futures = {version = "0.3.5", features = ["compat", "io-compat"]}
|
||||
futures = { version = "0.3.5", features = ["compat", "io-compat"] }
|
||||
futures-util = "0.3.8"
|
||||
futures_codec = "0.4.1"
|
||||
getset = "0.1.1"
|
||||
glob = "0.3.0"
|
||||
indexmap = {version = "1.6.0", features = ["serde-1"]}
|
||||
indexmap = { version = "1.6.0", features = ["serde-1"] }
|
||||
itertools = "0.10.0"
|
||||
log = "0.4.11"
|
||||
parking_lot = "0.11.0"
|
||||
rayon = "1.4.0"
|
||||
serde = {version = "1.0.115", features = ["derive"]}
|
||||
serde = { version = "1.0.115", features = ["derive"] }
|
||||
serde_json = "1.0.57"
|
||||
tempfile = "3.1.0"
|
||||
term_size = "0.3.2"
|
||||
@ -47,7 +47,8 @@ umask = "1.0.0"
|
||||
users = "0.10.0"
|
||||
|
||||
[dev-dependencies]
|
||||
nu-test-support = {version = "0.25.2", path = "../nu-test-support"}
|
||||
nu-test-support = { version = "0.25.2", path = "../nu-test-support" }
|
||||
|
||||
[features]
|
||||
rustyline-support = []
|
||||
dirs = ["dirs-next"]
|
||||
|
@ -72,7 +72,7 @@ impl FilesystemShell {
|
||||
pub fn homedir_if_possible() -> Option<PathBuf> {
|
||||
#[cfg(feature = "dirs")]
|
||||
{
|
||||
dirs::home_dir()
|
||||
dirs_next::home_dir()
|
||||
}
|
||||
|
||||
#[cfg(not(feature = "dirs"))]
|
||||
|
@ -144,7 +144,7 @@ impl Shell for HelpShell {
|
||||
fn homedir(&self) -> Option<PathBuf> {
|
||||
#[cfg(feature = "dirs")]
|
||||
{
|
||||
dirs::home_dir()
|
||||
dirs_next::home_dir()
|
||||
}
|
||||
|
||||
#[cfg(not(feature = "dirs"))]
|
||||
|
Reference in New Issue
Block a user