is-url

Crates.iois-url
lib.rsis-url
version1.0.4
sourcesrc
created_at2022-02-11 22:24:24.461214
updated_at2022-02-12 07:16:38.21866
descriptionA rust library to check if a string is an URL.
homepage
repositoryhttps://github.com/mauro-balades/is-url
max_upload_size
id531069
size5,079
Mauro Baladés (mauro-balades)

documentation

README

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
}
Commit count: 13

cargo fmt