Crates.io | is-url |
lib.rs | is-url |
version | 1.0.4 |
source | src |
created_at | 2022-02-11 22:24:24.461214 |
updated_at | 2022-02-12 07:16:38.21866 |
description | A rust library to check if a string is an URL. |
homepage | |
repository | https://github.com/mauro-balades/is-url |
max_upload_size | |
id | 531069 |
size | 5,079 |
A rust library to check if a string is an URL
In your Cargo.toml
add the following line after the dependencies
field.
is-url = "1.0.4"
This is an example usage someone might do.
use is_url::is_url;
fn main() {
println!("{}", is_url("https://crates.io")) // true
}