/is-url

A rust library to check if a string is an URL

Primary LanguageRustMIT LicenseMIT

is-url

A rust library to check if a string is an URL

Installation

In your Cargo.toml add the following line after the dependencies field.

is-url = "1.0.4"

Usage

This is an example usage someone might do.

use is_url::is_url;

fn main() {
  println!("{}", is_url("https://crates.io")) // true
}