autolink
========
[![Crates.io Status](http://meritbadge.herokuapp.com/autolink)](https://crates.io/crates/autolink)
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://git.cypr.io/oz/autolink-rust/raw/master/LICENSE)
> HTML auto-linking for Rust.
This is a small Rust crate, porting parts of Aaron Patterson's
[rails_autolink], to wrap URLs in raw text into `` HTML tags.
[rails_autolink]: https://github.com/tenderlove/rails_autolink
# Examples
```
use autolink::autolink;
let before = "Share code on https://crates.io";
let after = "Share code on https://crates.io";
assert!(autolink(before, &vec!["target=\"_blank\""]) == after)
```