PackageTrack
Sign in Get early access

homedir

A crate to help get the home directory of any user on a system.

0.3.6 4.1M downloads/mo #4949 most downloaded on crates.io ljtpetersen/homedir

What this package is like to depend on

Last release 1 years ago

28 Jun 2025

Release timing varies

gaps range from 2 weeks to 10 months

Nearly every release is documented

notes for 6 of 6 stable releases

3 versions withdrawn

withdrawn after publishing

3 years old

9 releases · first in 2023

0 releases in the last 12 months

see the full history below

Release timeline

9 releases · Aug 2023 to Jun 2025
2024 2025 2026
Release Pre-release Withdrawn

Releases

latest 9
  1. 0.3.6 28 Jun 2025
    Release notes

    Fixed

    • Added rust-version to Cargo.toml.
    Open source →
    Release notes

    Fixed

    • Added rust-version to Cargo.toml.
    Open source →
  2. 0.3.5 27 Jun 2025
    Release notes

    Changed

    • Updated all dependencies.
    • Refactored if let chains using Rust 1.88.0.
    Open source →
    Release notes

    Changed

    • Updated all dependencies.
    • Refactored if let chains using Rust 1.88.0.
    Open source →
  3. 0.3.4 01 Oct 2024
    Release notes

    Changed

    • Updated nix crate to latest version for compatibility.
    Open source →
    Release notes

    Changed

    • Updated nix crate to latest version for compatibility.
    Open source →
  4. 0.3.3 05 Jul 2024
    Release notes

    Fixed

    • A minor unsoundness hole existed in the method used to allocate SID buffers on Windows.
      Specifically, it was not checked that more than zero bytes were to be allocated,
      and it was not checked that the pointer returned from alloc was non-null.
    Open source →
    Release notes

    Fixed

    • A minor unsoundness hole existed in the method used to allocate SID buffers on Windows. Specifically, it was not checked that more than zero bytes were to be allocated, and it was not checked that the pointer returned from alloc was non-null.
    Open source →
  5. 0.3.2 05 Jul 2024 withdrawn
    Release notes

    Fixed

    • Mistake in the documentation of the windows-coinitialize feature.

    DO NOT USE THIS RELEASE -- THERE IS A VERY SMALL AND UNLIKELY UNSOUNDNESS HOLE IN THE WINDOWS VERSION

    Open source →
    Release notes

    Fixed

    • Mistake in the documentation of the windows-coinitialize feature.
    Open source →
  6. 0.3.1 05 Jul 2024 withdrawn
    Release notes

    Fixed

    • The crate did not compile if windows-coinitialize was not set (on Windows).

    DO NOT USE THIS RELEASE -- THERE IS A VERY SMALL AND UNLIKELY UNSOUNDNESS HOLE IN THE WINDOWS VERSION

    Open source →
    Release notes

    Fixed

    • The crate did not compile if windows-coinitialize was not set (on Windows).
    Open source →
  7. 0.3.0 05 Jul 2024 withdrawn
    Release notes

    Added

    • GetHomeInstance on Windows, for caching purposes.
    • A platform-agnostic interface for UserIdentifier.

    Changed

    • The variants of GetHomeError on Windows have been adapted to the new implementation.
    • The UserIdentifier type on Windows is now immutable.
    • The windows-sys dependency has been replaced with the windows crate, as windows-sys
      is lacking in a required type.
    • The GetHomeInstance type on Windows to cache the IWbemServices interface for multiple
      queries.
    • Renamed get_home and get_my_home to home and my_home respectively.
    • Moved and renamed get_home_from_id, get_my_id, and get_id into the UserIdentifier type.
    • Changed the technique used to present a platform-agnostic interface in the crate root to mimic
      that used in the Rust standard library.

    Removed

    • The wmi and serde dependencies have been removed.

    DO NOT USE THIS RELEASE -- THERE IS A VERY SMALL AND UNLIKELY UNSOUNDNESS HOLE IN THE WINDOWS VERSION

    Open source →
    Release notes

    Added

    • GetHomeInstance on Windows, for caching purposes.
    • A platform-agnostic interface for UserIdentifier.

    Changed

    • The variants of GetHomeError on Windows have been adapted to the new implementation.
    • The UserIdentifier type on Windows is now immutable.
    • The windows-sys dependency has been replaced with the windows crate, as windows-sys is lacking in a required type.
    • The GetHomeInstance type on Windows to cache the IWbemServices interface for multiple queries.
    • Renamed get_home and get_my_home to home and my_home respectively.
    • Moved and renamed get_home_from_id, get_my_id, and get_id into the UserIdentifier type.
    • Changed the technique used to present a platform-agnostic interface in the crate root to mimic that used in the Rust standard library.

    Removed

    • The wmi and serde dependencies have been removed.
    Open source →
  8. 0.2.1 27 Aug 2023
    Release notes

    Fixed

    • Documentation tests that would not compile now do.
    Open source →
    Release notes

    Fixed

    • Documentation tests that would not compile have been fixed.
    Open source →
  9. 0.1.0 13 Aug 2023
    Release notes

    The first release of this crate. Documentation for this version is available here.

    Open source →
    Release notes

    The first release of this crate.

    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive