url-macro 0.2.3

A compile-time URL validation macro. Parses and checks URLs at compile-time, converting valid URLs into `url::Url` objects. Provides early error detection for malformed URLs.
Documentation
<!-- DO NOT EDIT -->
<!-- This file is automatically generated by README.ts. -->
<!-- Edit README.ts if you want to make changes. -->

# Compile-time URL validation

[![Build](https://github.com/DenisGorbachev/url-macro/actions/workflows/ci.yml/badge.svg)](https://github.com/DenisGorbachev/url-macro)
[![Documentation](https://docs.rs/url-macro/badge.svg)](https://docs.rs/url-macro)

<!-- crate documentation start -->
This crate provides a [url!](https://docs.rs/url-macro/latest/url_macro/macro.url.html) macro for compile-time URL validation.

## Examples

```rust
// This compiles correctly
let valid = url!("https://www.rust-lang.org/");
```

```rust
// This triggers a compiler error
let invalid = url!("foo");
```

<!-- crate documentation end -->

## Installation

```shell
cargo add url-macro url
```

## Gratitude

Like the project? [⭐ Star this repo](https://github.com/DenisGorbachev/url-macro) on GitHub!

## License

[Apache-2.0](LICENSE-APACHE) or [MIT](LICENSE-MIT).

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, shall be licensed as above, without any additional terms or conditions.