Cargo Features

URLs has no features set by default.

[dependencies]
urls = { version = "2.5.0", features = ["debugger_visualizer", "expose_internals", "serde"] }
debugger_visualizer

Enable to use the #[debugger_visualizer] attribute. This feature requires Rust >= 1.71.

expose_internals

Expose internal offsets of the URL.

Affects quirks::InternalComponents, quirks::internal_components

Features from optional dependencies

serde implicit feature

Enables serde

serde:

A generic serialization/deserialization framework