#url #browser #web

url_open

Open URLs in the default browser

2 releases

Uses old Rust 2015

0.0.2 Apr 20, 2023
0.0.1 Nov 17, 2019

#175 in #browser

44 downloads per month

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.4–2MB
~60K SLoC