Skip to content

mauro-balades/is-url

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
}