Crates.io | find_browsers |
lib.rs | find_browsers |
version | 0.1.2 |
source | src |
created_at | 2024-10-02 09:08:28.402589 |
updated_at | 2024-10-07 20:36:10.15357 |
description | A library for retrieving installed browsers (supports Windows and Linux). |
homepage | |
repository | https://github.com/icealtria/find_browsers |
max_upload_size | |
id | 1393879 |
size | 8,003 |
A library for retrieving installed browsers (supports Windows and Linux).
Add the following to your Cargo.toml
:
[dependencies]
find_browsers = "0.1.1"
use find_browsers::get_browsers;
fn main() {
let browsers = get_browsers().unwrap();
for browser in browsers {
println!("Found browser: {} at {:?}", browser.name, browser.exec);
}
}