Expand ~ and shell variables in dirs config (#538)

This commit is contained in:
vaw
2025-10-25 19:52:14 +00:00
committed by GitHub
parent 55456dbc1e
commit 14aa97251c
3 changed files with 58 additions and 16 deletions

10
Cargo.lock generated
View File

@@ -2287,6 +2287,7 @@ dependencies = [
"rpassword",
"serde",
"serde_json",
"shellexpand",
"sled",
"temp-dir",
"thiserror 1.0.69",
@@ -5108,6 +5109,15 @@ dependencies = [
"lazy_static 1.5.0",
]
[[package]]
name = "shellexpand"
version = "3.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8b1fdf65dd6331831494dd616b30351c38e96e45921a27745cf98490458b90bb"
dependencies = [
"dirs",
]
[[package]]
name = "shlex"
version = "1.3.0"