Cargo Features

URL has no features set by default.

[dependencies]
url = { version = "2.5.2", 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