$ webbrowser

v1.2.0

Open URLs in web browsers available on a platform

Downloads: 24.0M
Recent: 6.0M
Versions: 41
Updated: March 9, 2026

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() {
    // ...
}

Linkshttps://crates.io/crates/webbrowserhttps://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

15.6M24.0M

$ VERSION HISTORY

v1.2.0March 9, 2026
v1.1.0February 7, 2026
v1.0.6October 16, 2025
v1.0.5June 14, 2025

$ LINKS

$ INSTALL

cargo add webbrowser

Or add to Cargo.toml: webbrowser = "1.2.0"