From dc0db358abe19481e475e10c32149b53370f1a1c Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 30 May 2024 05:57:31 +0200 Subject: Merging upstream version 1.72.1+dfsg1. Signed-off-by: Daniel Baumann --- vendor/dirs-sys/.cargo-checksum.json | 2 +- vendor/dirs-sys/Cargo.toml | 11 +++++------ vendor/dirs-sys/src/lib.rs | 2 +- 3 files changed, 7 insertions(+), 8 deletions(-) (limited to 'vendor/dirs-sys') diff --git a/vendor/dirs-sys/.cargo-checksum.json b/vendor/dirs-sys/.cargo-checksum.json index d095c8ac5..3bf19bb8d 100644 --- a/vendor/dirs-sys/.cargo-checksum.json +++ b/vendor/dirs-sys/.cargo-checksum.json @@ -1 +1 @@ -{"files":{"Cargo.toml":"141e80efbaefa9322513f4900a2ac4c5209b135bb36bf7ca347e3deebc75965f","LICENSE-APACHE":"d3174ad63e721d4c9dccb8ad4320848992d314369bc46319720b5802c9153fe9","LICENSE-MIT":"6a2e0ade09a7d5f816f11566fee2b151b32235a7fad52b41d49cce96f833c1a9","README.md":"1c818a4ea3bf85aaafe27421528a285db92c1f20ae9651c669379cb603495f37","src/lib.rs":"5c1aff249eb1f6abd52785f58318c1b0641ca810c15ce349e9c3797d86b1c8c5","src/xdg_user_dirs.rs":"225ae21a97b839330a8c3bc8e0a0b48e40580cbae25bfc47581dff724bb0ebec"},"package":"03d86534ed367a67548dc68113a0f5db55432fdfbb6e6f9d77704397d95d5780"} \ No newline at end of file +{"files":{"Cargo.toml":"dd6c411fb23e7e3b48627706969919b0f8d9f7bd7411ba70c71ca9067fc2e53f","LICENSE-APACHE":"d3174ad63e721d4c9dccb8ad4320848992d314369bc46319720b5802c9153fe9","LICENSE-MIT":"6a2e0ade09a7d5f816f11566fee2b151b32235a7fad52b41d49cce96f833c1a9","README.md":"1c818a4ea3bf85aaafe27421528a285db92c1f20ae9651c669379cb603495f37","src/lib.rs":"533a5fb5b6506d3719d0b4abb1c3b3334cb1e2ad01aed7eb799e64b435b04c23","src/xdg_user_dirs.rs":"225ae21a97b839330a8c3bc8e0a0b48e40580cbae25bfc47581dff724bb0ebec"},"package":"1b1d1d91c932ef41c0f2663aa8b0ca0342d444d842c06914aa0a7e352d0bada6"} \ No newline at end of file diff --git a/vendor/dirs-sys/Cargo.toml b/vendor/dirs-sys/Cargo.toml index 6c4100798..9951d2414 100644 --- a/vendor/dirs-sys/Cargo.toml +++ b/vendor/dirs-sys/Cargo.toml @@ -3,16 +3,15 @@ # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies -# to registry (e.g., crates.io) dependencies +# to registry (e.g., crates.io) dependencies. # -# If you believe there's an error in this file please file an -# issue against the rust-lang/cargo repository. If you're -# editing this file be aware that the upstream Cargo.toml -# will likely look very different (and much more reasonable) +# If you are reading this file be aware that the original Cargo.toml +# will likely look very different (and much more reasonable). +# See Cargo.toml.orig for the original contents. [package] name = "dirs-sys" -version = "0.3.6" +version = "0.3.7" authors = ["Simon Ochsenreither "] description = "System-level helper functions for the dirs and directories crates." readme = "README.md" diff --git a/vendor/dirs-sys/src/lib.rs b/vendor/dirs-sys/src/lib.rs index cd5bb4794..4f9d67e76 100644 --- a/vendor/dirs-sys/src/lib.rs +++ b/vendor/dirs-sys/src/lib.rs @@ -85,7 +85,7 @@ use super::redox_users::{All, AllUsers, Config}; pub fn home_dir() -> Option { let current_uid = redox_users::get_uid().ok()?; - let users = AllUsers::new(Config::default()).ok()?; + let users = AllUsers::basic(Config::default()).ok()?; let user = users.get_by_id(current_uid)?; Some(PathBuf::from(user.home.clone())) -- cgit v1.2.3