6 releases

0.1.5 May 18, 2023
0.1.4 Jun 30, 2022

#1291 in Parser implementations

Download history 91/week @ 2024-07-24 147/week @ 2024-07-31 93/week @ 2024-08-07 93/week @ 2024-08-14 68/week @ 2024-08-21 79/week @ 2024-08-28 105/week @ 2024-09-04 65/week @ 2024-09-11 182/week @ 2024-09-18 163/week @ 2024-09-25 131/week @ 2024-10-02 55/week @ 2024-10-09 34/week @ 2024-10-16 72/week @ 2024-10-23 53/week @ 2024-10-30 31/week @ 2024-11-06

192 downloads per month
Used in 2 crates (via webdav-headers)

MIT license

140KB
3.5K SLoC

uniresid

github crates.io docs.rs build status

Uniform Resource Identifiers (RFC 3986) for rust.

A URI is a compact sequence of characters that identifies an abstract or physical resource. One common form of URI is the Uniform Resource Locator (URL), used to reference web resources:

http://www.example.com/foo?bar#baz

Another kind of URI is the path reference:

/usr/bin/zip

The purpose of this library is to provide a Uri type to represent a URI, with functions to parse URIs from their string representations, as well as assemble URIs from their various components.

Credits

This crate has been forked from uris. Thanks to Richard Walters for the original implementation and Martin Fischer for his improvements.

License

Licensed under the MIT license.

Dependencies

~0.3–1.2MB
~24K SLoC