url-macro 0.1.4

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)

## Overview

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.

## Examples

```rust
let google = url!("https://www.google.com/");

let invalid_url = url!("foo");
                  ^^^^^
                  Triggers a compiler error
```

## Installation

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

**Important:** add the `url` crate too.

## Gratitude

Like the project? [Say thanks!](https://github.com/DenisGorbachev/url-macro/discussions/new?category=gratitude) ❤️

## License

[Apache License 2.0](LICENSE-APACHE) or [MIT License](LICENSE-MIT) at your option.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.