Cargo Features
[dependencies]
url-fork = { version = "3.0.1", default-features = false, features = ["std", "expose_internals"] }
- default = std
-
The
std
feature is set by default wheneverurl-fork
is added without
somewhere in the dependency tree.default-features = false - std default
-
Enables std of form_urlencoded, idna ^0.5, percent-encoding, and serde
serde:
Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library. - expose_internals
-
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. These features may have been created by mistake, and this functionality may be removed in the future.