PackageTrack
Sign in Get early access

opener

Open a file or link using the system default program.

0.8.5 33M downloads/mo #1580 most downloaded on crates.io Seeker14491/opener

What this package is like to depend on

Last release 2 months ago

11 Jun 2026

Release timing varies

gaps range from 3 weeks to 1.7 years

Some releases are documented

notes for 12 of 21 stable releases

Nothing withdrawn

no release was ever pulled

8 years old

21 releases · first in 2018

3 releases in the last 12 months

see the full history below

Release timeline

21 releases · Aug 2018 to Jun 2026
2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 21
  1. 0.8.5 11 Jun 2026

    Nothing published for this version

  2. 0.8.4 25 Jan 2026

    Nothing published for this version

  3. 0.8.3 04 Sep 2025

    Nothing published for this version

  4. 0.8.2 28 May 2025

    Nothing published for this version

  5. 0.8.1 21 May 2025

    Nothing published for this version

  6. 0.8.0 21 May 2025
    Release notes

    Removed

    • dbus-vendored feature, as we've moved from the dbus crate to the pure-Rust zbus.
    Open source →
  7. 0.7.2 06 Aug 2024

    Nothing published for this version

  8. 0.7.1 18 May 2024
    Release notes

    Fixed

    • On Linux, the dbus crate is now only pulled in when enabling the reveal feature (as was the case prior to opener v0.7.0).
    • Fixed a Cargo error when compiling opener using versions of Rust prior to 1.71.
    Open source →
  9. 0.7.0 23 Mar 2024
    Release notes

    Added

    • "dbus-vendored" feature, which is enabled by default to match current behavior. This just forwards to the dbus crate's "vendored" feature. Disable it to link dynamically to dbus instead of statically.
    Open source →
  10. 0.6.1 14 Apr 2023

    Nothing published for this version

  11. 0.6.0 27 Mar 2023
    Release notes

    Added

    • reveal() function, which opens the system's file explorer with the specified file or directory selected. It requires the "reveal" feature to be enabled.

    Changed

    • The error message when an executable is missing or otherwise fails to start is now more helpful due to the addition of the OpenError::Spawn variant, which is returned when spawning command(s) fails, and includes the name of the command(s). Before, these errors would be returned as OpenError::Io, which tend to be vague.
    • OpenError is now marked #[non_exhaustive].

    Fixed

    • Path handling on Windows has been improved. / separators in relative paths are now accepted.
    • Opening web links on WSL with wslview now works properly.
    Open source →
  12. 0.5.2 30 Jan 2023
    Release notes

    Fixed

    • License files are now properly included in the published crate.
    Open source →
  13. 0.5.1 28 Jan 2023
    Release notes

    Changed

    • Update xdg-open.
    Open source →
  14. 0.5.0 12 Jun 2021
    Release notes

    Added

    • open_browser(), which uses the $BROWSER environment variable before falling back to open().
    • WSL-specific implementation. Previously, WSL used the same implementation as Linux. Now the strategy on WSL is to use the system's wslview command from wslu if available, falling back to the system xdg-open, if available.

    Changed

    • On Linux (non-WSL), the system xdg-open is now used if present. Otherwise, the bundled version is used, as before.
    • Avoid blocking the thread on Linux and WSL.

    Removed

    • impl From<io::Error> for OpenError.
    Open source →
  15. 0.4.1 30 Sep 2019
    Release notes

    Changed

    • Update xdg-open.
    Open source →
  16. 0.4.0 02 May 2019
    Release notes

    Added

    • OpenError now implements std::error::Error.

    Changed

    • OpenError's failure::Fail impl was removed from this crate, but the failure crate provides a blanket impl of failure::Fail for types implementing std::error::Error, so this shouldn't break anything.
    Open source →
  17. 0.3.2 15 Nov 2018

    Nothing published for this version

  18. 0.3.1 15 Nov 2018

    Nothing published for this version

  19. 0.3.0 18 Aug 2018
    Release notes

    Added

    • stderr field to OpenError::ExitStatus variant, which captures anything the failed process wrote to stderr.
    Open source →
  20. 0.2.0 08 Aug 2018
    Release notes

    Removed

    • The open_sys function, which was erroneously pub on non-Windows builds.
    Open source →
  21. 0.1.0 08 Aug 2018
    Release notes
    • Initial release.
    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