Cargo Features

URL has no features set by default.

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

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


Expose internal offsets of the URL.

Affects quirks::InternalComponents, quirks::internal_components

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

serde implicit feature

With derive and default (std)