Crates.io | find_browsers |
lib.rs | find_browsers |
version | 0.2.0 |
source | src |
created_at | 2024-10-02 09:08:28.402589 |
updated_at | 2024-11-22 06:24:22.666109 |
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 | 9,297 |
A library for retrieving installed browsers (supports Windows and Linux).
Add the following to your Cargo.toml
:
[dependencies]
find_browsers = "0.1.2"
use find_browsers::get_browsers;
fn main() {
let browsers = get_browsers().unwrap();
for browser in browsers {
println!("Found browser: {} at {:?}", browser.name, browser.exec);
}
}