5 stable releases
1.0.4 | Feb 12, 2022 |
---|---|
1.0.2 | Feb 11, 2022 |
#1 in #someone
221 downloads per month
Used in 2 crates
4KB
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
}
Dependencies
~2–3MB
~54K SLoC