$ webbrowser
v1.2.0Open URLs in web browsers available on a platform
Latest Update Summary
Crate
Name: webbrowser New version: 1.0.6 Release date: 2025-10-16T04:41:29Z
Crate readme
Short description Rust library to open URLs and local files in the web browsers available on a platform, with guarantees of Consistent Behaviour.
Long description The webbrowser crate allows opening URLs and local files in web browsers on various platforms. It ensures consistent behavior, such as always opening a browser for local files where other libraries may fail. The crate supports multiple platforms including macOS, Windows, Linux, Android, iOS, and WebAssembly, with optional features for enhanced security and logging.
Features • hardened • disable-wsl • wasm-console
Code Examples Basic usage
use webbrowser;
if webbrowser::open("http://github.com").is_ok() {
// ...
}
Links • https://crates.io/crates/webbrowser • https://docs.rs/webbrowser • CHANGELOG.md • https://github.com/your-repo/pull/108 https://docs.rs/webbrowser https://api.github.com/repos/amodm/webbrowser-rs/releases/254885045
Release info
Release version: 1.0.6
Release description This release addresses an issue specific to Windows where the browser would fail to open when unicode characters are present in the file path. The fix implemented resolves this behavior, allowing for proper browser functionality with such paths. This change is important for users who might have files or directories named with unicode characters, ensuring a smoother user experience without interruptions.
Code Examples
Minor update: 1.1.0 → 1.2.0
$ DOWNLOADS TREND
$ VERSION HISTORY
$ LINKS
$ INSTALL
cargo add webbrowserOr add to Cargo.toml: webbrowser = "1.2.0"