#url #web #browser

url_open

Open URLs in the default browser

1 unstable release

Uses old Rust 2015

0.0.1 Nov 17, 2019

#37 in #browser

MIT license

3KB

url_open

A simple crate to open URLs in the default web browser.

Usage

extern crate url;
extern crate url_open;

use url::Url;
use url_open::UrlOpen;

fn main() {
    Url::parse("https://github.com/overdrivenpotato/url_open").unwrap().open();
}

lib.rs:

url_open

A simple crate to open URLs in the default web browser.

Usage

extern crate url;
extern crate url_open;

use url::Url;
use url_open::UrlOpen;

fn main() {
    Url::parse("https://github.com/overdrivenpotato/url_open").unwrap().open();
}

Dependencies

~1.5MB
~52K SLoC

F]