#browser #installed #retrieving #find

find_browsers

A library for retrieving installed browsers (supports Windows and Linux)

3 releases

0.1.2 Oct 7, 2024
0.1.1 Oct 2, 2024
0.1.0 Oct 2, 2024

#273 in Operating systems

MIT license

8KB
165 lines

find_browsers

A library for retrieving installed browsers (supports Windows and Linux).

Installation

Add the following to your Cargo.toml:

[dependencies]
find_browsers = "0.1.1"

Usage

use find_browsers::get_browsers;

fn main() {
    let browsers = get_browsers().unwrap();
    for browser in browsers {
        println!("Found browser: {} at {:?}", browser.name, browser.exec);
    }
}

Dependencies

~0–9.5MB
~47K SLoC