Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mr-cheff/is-url
A rust library to check if a string is an URL
https://github.com/mr-cheff/is-url
is-url rust rust-packages
Last synced: 19 days ago
JSON representation
A rust library to check if a string is an URL
- Host: GitHub
- URL: https://github.com/mr-cheff/is-url
- Owner: mr-cheff
- License: mit
- Created: 2022-02-11T21:57:16.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-10-11T10:43:23.000Z (over 1 year ago)
- Last Synced: 2024-12-22T06:17:24.194Z (29 days ago)
- Topics: is-url, rust, rust-packages
- Language: Rust
- Homepage: https://crates.io/crates/is-url
- Size: 9.77 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
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.
```rust
use is_url::is_url;
fn main() {
println!("{}", is_url("https://crates.io")) // true
}
```