#mime #uri #opening #open #error #applications

mime_open

A small library for opening a uri in an appropriate application

2 unstable releases

0.2.0 Jun 4, 2022
0.1.0 Mar 8, 2022

#1270 in Filesystem

47 downloads per month
Used in gemview

MIT license

5KB
65 lines

Small library for opening a uri with an appropriate program.

Usage

use mime_open::open

if let Err(e) = open("https://duckduckgo.com") {
    eprintln!("Error opening url: {}", e);
}

lib.rs:

Small library for opening a uri with an appropriate program.

Usage

use mime_open::open

if let Err(e) = open("https://duckduckgo.com") {
    eprintln!("Error opening url: {}", e);
}

No runtime deps