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 2026Releases
latest 21-
0.8.511 Jun 2026Nothing published for this version
-
0.8.425 Jan 2026Nothing published for this version
-
0.8.304 Sep 2025Nothing published for this version
-
0.8.228 May 2025Nothing published for this version
-
0.8.121 May 2025Nothing published for this version
-
0.8.021 May 2025Release notes
Open source →Removed
dbus-vendoredfeature, as we've moved from thedbuscrate to the pure-Rustzbus.
-
0.7.206 Aug 2024Nothing published for this version
-
0.7.118 May 2024Release notes
Open source →Fixed
- On Linux, the
dbuscrate is now only pulled in when enabling therevealfeature (as was the case prior toopenerv0.7.0). - Fixed a Cargo error when compiling
openerusing versions of Rust prior to 1.71.
- On Linux, the
-
0.7.023 Mar 2024Release notes
Open source →Added
- "dbus-vendored" feature, which is enabled by default to match current behavior. This just forwards to the
dbuscrate's "vendored" feature. Disable it to link dynamically to dbus instead of statically.
- "dbus-vendored" feature, which is enabled by default to match current behavior. This just forwards to the
-
0.6.114 Apr 2023Nothing published for this version
-
0.6.027 Mar 2023Release notes
Open source →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::Spawnvariant, which is returned when spawning command(s) fails, and includes the name of the command(s). Before, these errors would be returned asOpenError::Io, which tend to be vague. OpenErroris 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
wslviewnow works properly.
-
0.5.230 Jan 2023 -
0.5.128 Jan 2023 -
0.5.012 Jun 2021Release notes
Open source →Added
open_browser(), which uses the$BROWSERenvironment variable before falling back toopen().- WSL-specific implementation. Previously, WSL used the same implementation as Linux. Now the strategy on WSL is to use the system's
wslviewcommand fromwsluif available, falling back to the systemxdg-open, if available.
Changed
- On Linux (non-WSL), the system
xdg-openis 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.
-
0.4.130 Sep 2019 -
0.4.002 May 2019Release notes
Open source →Added
OpenErrornow implementsstd::error::Error.
Changed
OpenError'sfailure::Failimpl was removed from this crate, but the failure crate provides a blanket impl offailure::Failfor types implementingstd::error::Error, so this shouldn't break anything.
-
0.3.215 Nov 2018Nothing published for this version
-
0.3.115 Nov 2018Nothing published for this version
-
0.3.018 Aug 2018Release notes
Open source →Added
stderrfield toOpenError::ExitStatusvariant, which captures anything the failed process wrote to stderr.
-
0.2.008 Aug 2018Release notes
Open source →Removed
- The
open_sysfunction, which was erroneously pub on non-Windows builds.
- The
-
0.1.008 Aug 2018