Expand description

A URI parser that strictly adheres to IETF RFC 3986.

See the documentation of Uri for more details.

Feature flags

All features are disabled by default.

  • ipv_future: Enables the parsing of IPvFuture literal addresses, which fails with InvalidIpLiteral when disabled.

  • rfc6874bis: Enables the parsing of IPv6 zone identifiers, such as in https://[fe80::abcd%en1].

    This feature is based on the homonymous draft and is thus subject to change.

Modules

Utilities for percent-encoding.

Structs

The authority component of URI reference.

The host subcomponent of authority.

An error occurred when parsing URI references.

The path component of URI reference.

The scheme component of URI reference.

A URI reference defined in RFC 3986.

A smart pointer that allows viewing a mutable byte slice as &T.

Enums

Structured host data.

Detailed cause of a ParseError.